Module: Vivapayments
- Defined in:
- lib/vivapayments.rb,
lib/vivapayments/order.rb,
lib/vivapayments/version.rb,
lib/vivapayments/configuration.rb
Defined Under Namespace
Classes: Configuration, Order
Constant Summary collapse
- VERSION =
"0.0.1"
Instance Attribute Summary collapse
-
#configuration ⇒ Object
readonly
Returns the value of attribute configuration.
Class Method Summary collapse
Instance Attribute Details
#configuration ⇒ Object (readonly)
Returns the value of attribute configuration.
9 10 11 |
# File 'lib/vivapayments.rb', line 9 def configuration @configuration end |
Class Method Details
.configuration ⇒ Object
15 16 17 |
# File 'lib/vivapayments.rb', line 15 def self.configuration @configuration ||= Configuration.new end |
.configure {|configuration| ... } ⇒ Object
11 12 13 |
# File 'lib/vivapayments.rb', line 11 def self.configure(&block) yield configuration end |