Class: ActionController::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/unlock_gateway.rb

Class Method Summary collapse

Class Method Details

.is_unlock_gatewayObject

Extends and includes UnlockGateway::Controller class and instance methods, preparing a controller to be an unlock gateway controller



20
21
22
23
# File 'lib/unlock_gateway.rb', line 20

def self.is_unlock_gateway
  extend UnlockGateway::Controller::ClassMethods
  include UnlockGateway::Controller
end