Class: Vnpay::Config

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

Class Method Summary collapse

Class Method Details

.configurationObject



3
4
5
# File 'lib/vnpay/config.rb', line 3

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

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

Yields:



7
8
9
# File 'lib/vnpay/config.rb', line 7

def self.configure
  yield(configuration)
end