Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow passing a block normally #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Commits on Dec 22, 2018

  1. Allow passing a block normally

    In addition to passing a `Proc` as a value, this commit allows us to
    pass a first-class block to `Crambda.run_handler`:
    
        Crambda.run_handler do |event, context|
          { foo: "bar", omg: "lol", wtf: 42 }
        end
    jgaskins authored Dec 22, 2018
    Configuration menu
    Copy the full SHA
    986f1b3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dfdf2de View commit details
    Browse the repository at this point in the history