class FlowAccount::API
Public Class Methods
new(options={})
click to toggle source
# File lib/flow_account/api.rb, line 9 def initialize(options={}) options = FlowAccount.options.merge(options) Configuration::VALID_OPTIONS_KEYS.each do |key| send("#{key}=", options[key]) end end
Public Instance Methods
config()
click to toggle source
# File lib/flow_account/api.rb, line 16 def config conf = {} Configuration::VALID_OPTIONS_KEYS.each do |key| conf[key] = send key end conf end