Sha256: 34e4964c5cf23200d954605360c442325139291ba88aa4e868c166962f9ddf75
Contents?: true
Size: 405 Bytes
Versions: 2
Compression:
Stored size: 405 Bytes
Contents
module Chargify class << self attr_accessor :subdomain, :api_key, :site, :format, :timeout def configure yield self Base.user = api_key Base.password = 'X' Base.timeout = timeout unless (timeout.blank?) self.site ||= "https://#{subdomain}.chargify.com" Base.site = site self.format ||= :xml Base.format = format end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
chargify_api_ares-0.6.0 | lib/chargify_api_ares/config.rb |
chargify_api_ares-0.5.4 | lib/chargify_api_ares/config.rb |