Sha256: 0e4c48dc7618c14ef1cf0cc86c5d9539fa230f27842e3c0d8e36bb0f8987e308

Contents?: true

Size: 267 Bytes

Versions: 1

Compression:

Stored size: 267 Bytes

Contents

module MandrillEvent
  class EventsController < ActionController::Base

    def index
      head :ok
    end

    def create
      MandrillEvent.process(params)
      head :ok
    # rescue MandrillEvent::UnauthorizedError
    #   head :unauthorized
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mandrill_event-0.0.1 app/controllers/mandrill_event/events_controller.rb