Module: Payoneer::Configuration::ClassMethods

Defined in:
lib/payoneer/configuration.rb

Instance Method Summary collapse

Instance Method Details

#configObject



11
12
13
14
15
# File 'lib/payoneer/configuration.rb', line 11

def config
  @@config
rescue
  raise ::Payoneer::Errors::ConfigurationError.new
end

#configure(options) ⇒ Object



17
18
19
# File 'lib/payoneer/configuration.rb', line 17

def configure(options)
  @@config = ::Payoneer::Config.new(options)
end