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

Class Method Summary collapse

Instance Attribute Details

#configurationObject (readonly)

Returns the value of attribute configuration.



9
10
11
# File 'lib/vivapayments.rb', line 9

def configuration
  @configuration
end

Class Method Details

.configurationObject



15
16
17
# File 'lib/vivapayments.rb', line 15

def self.configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



11
12
13
# File 'lib/vivapayments.rb', line 11

def self.configure(&block)
  yield configuration
end