Class: Stripe::EventsController

Inherits:
ApplicationController show all
Includes:
EventDispatch
Defined in:
app/controllers/stripe/events_controller.rb

Instance Method Summary collapse

Methods included from EventDispatch

#dispatch_stripe_event, #retrieve_stripe_event

Instance Method Details

#createObject



6
7
8
9
# File 'app/controllers/stripe/events_controller.rb', line 6

def create
  @event = dispatch_stripe_event params
  respond_with @event, :location => nil
end