Module: DragonpayRails
- Defined in:
- lib/dragonpay_rails.rb,
lib/dragonpay_rails/version.rb
Constant Summary collapse
- VERSION =
"0.1.0"
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
7 8 9 |
# File 'lib/dragonpay_rails.rb', line 7 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
14 15 16 |
# File 'lib/dragonpay_rails.rb', line 14 def self.configure yield configuration end |
.pay_now {|payment| ... } ⇒ Object
22 23 24 |
# File 'lib/dragonpay_rails.rb', line 22 def self.pay_now yield payment end |
.payment ⇒ Object
18 19 20 |
# File 'lib/dragonpay_rails.rb', line 18 def self.payment @payment ||= Payment.new end |