Sha256: abbd58cc4bd26eb1e2a6b501cdcee958a1e173d8854d53acfa08f6cde6a78cc6
Contents?: true
Size: 282 Bytes
Versions: 1
Compression:
Stored size: 282 Bytes
Contents
module Ebay module Config class << self %i(app_id dev_id cert_id).each do |method| eval <<-DEF attr_writer :#{method} def #{method} @#{method} || ENV['EBAY_#{method.upcase}'] end DEF end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ebay-ruby-0.2.0 | lib/ebay/config.rb |