Sha256: c01e94cd0d31a8bcb177aa9ed4c11b29f803bc2856bd3c5fd23b23aceb6c8637
Contents?: true
Size: 236 Bytes
Versions: 4
Compression:
Stored size: 236 Bytes
Contents
class Databox::Configuration attr_accessor \ :key, :url, :token def initialize @url ||= ENV["DATABOX_URL"] || 'https://app.databox.com' @key ||= ENV["DATABOX_KEY"] @token ||= ENV["DATABOX_TOKEN"] end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
databox-0.1.2 | lib/databox/configuration.rb |
databox-0.1.1 | lib/databox/configuration.rb |
databox-0.1.0 | lib/databox/configuration.rb |
databox-0.0.3 | lib/databox/configuration.rb |