module Payoneer::Configuration::ClassMethods
Public Instance Methods
config()
click to toggle source
# File lib/payoneer/configuration.rb, line 11 def config @@config rescue raise ::Payoneer::Errors::ConfigurationError.new end
configure(options)
click to toggle source
# File lib/payoneer/configuration.rb, line 17 def configure(options) @@config = ::Payoneer::Config.new(options) end