Module: UnlockGateway
- Defined in:
- lib/unlock_gateway.rb,
lib/unlock_gateway/setting.rb,
lib/unlock_gateway/version.rb,
lib/unlock_gateway/controller.rb,
lib/unlock_gateway/models/gateway.rb,
lib/unlock_gateway/models/contribution.rb
Defined Under Namespace
Modules: Controller, Models Classes: Setting
Constant Summary collapse
- VERSION =
"0.2.1"
Class Method Summary collapse
-
.register(module_name) ⇒ Object
Registers the gateway with unlock’s Gateway model.
Class Method Details
.register(module_name) ⇒ Object
Registers the gateway with unlock’s Gateway model
9 10 11 12 13 14 |
# File 'lib/unlock_gateway.rb', line 9 def self.register(module_name) begin Gateway.register module_name rescue end end |