lib/homeflow/api.rb in homeflow_api-1.0.2 vs lib/homeflow/api.rb in homeflow_api-1.0.3
- old
+ new
@@ -38,11 +38,11 @@
module Homeflow
module API
- VERSION = "1.0.2"
+ VERSION = "1.0.3"
class << self
attr_accessor :configuration
end
@@ -61,12 +61,13 @@
yield(config)
end
# A configuration instance
class Configuration
- attr_accessor :api_key, :source, :show_debug, :logger
+ attr_accessor :api_key, :source, :show_debug, :logger, :request_key
def initialize
+ @request_key = ''
@api_key = 'API_KEY_REQUIRED'
@source = 'http://localhost:3000'
@show_debug = false
@logger = nil
end