Sha256: cb70bca5ad118a20def5b312e2e6b252ccc83c0d9946f3bf2832e734e85dd42e
Contents?: true
Size: 281 Bytes
Versions: 2
Compression:
Stored size: 281 Bytes
Contents
module Bookdepository module Config class << self attr_writer :auth_key, :client_id def auth_key @auth_key || ENV['BOOKDEPOSITORY_AUTH_KEY'] end def client_id @client_id || ENV['BOOKDEPOSITORY_CLIENT_ID'] end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bookdepository-0.1.0 | lib/bookdepository/config.rb |
bookdepository-0.0.4 | lib/bookdepository/config.rb |