Sha256: 5c37e8443b17fc3d96c9e219bd8c479b0410a1204d5d39fd46be0f29fc09757a
Contents?: true
Size: 307 Bytes
Versions: 3
Compression:
Stored size: 307 Bytes
Contents
module Punchfork module Configuration mattr_accessor :api_key, :protocol @@api_key = ENV['PUNCHFORK_API_KEY'] || ENV['KEY'] @@protocol ||= ENV['PUNCHFORK_PROTOCOL'] || 'http' mattr_reader :search_uri @@search_uri = URI.parse('http://api.punchfork.com/recipes') end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
punchfork-0.0.6 | lib/punchfork/configuration.rb |
punchfork-0.0.5 | lib/punchfork/configuration.rb |
punchfork-0.0.4 | lib/punchfork/configuration.rb |