Sha256: a8dd8b7a2c4e53a44279a82fd3b5ba853e6c95635941dc87dd87ad2ca819f418

Contents?: true

Size: 311 Bytes

Versions: 1

Compression:

Stored size: 311 Bytes

Contents

module Platon
  class CallbacksController < ApplicationController

    def create
      service = CallbackService.call(params)
      if service.success?
        Platon::Callbacks.setup.success.call(params)
      else
        Platon::Callbacks.setup.failed.call(params)
      end
      head :ok
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
platon.ua-1.0.1 app/controllers/platon/callbacks_controller.rb