module FastSpring::Account
Public Class Methods
[]=(key, val)
click to toggle source
# File lib/fastspring-saasy/account.rb, line 14 def self.[]=(key, val) config[key] = val end
config()
click to toggle source
# File lib/fastspring-saasy/account.rb, line 5 def self.config @config ||= { :username => 'user', :password => 'pass', :company => 'your-company', :ssl_ca_file => DEFAULT_SSL_CA_FILE } end
fetch(key)
click to toggle source
# File lib/fastspring-saasy/account.rb, line 18 def self.fetch(key) config[key] end
setup() { |self| ... }
click to toggle source
# File lib/fastspring-saasy/account.rb, line 22 def self.setup yield self nil end
Public Instance Methods
[](key)
click to toggle source
# File lib/fastspring-saasy/account.rb, line 27 def [](key) config[key] end