Class: Homeflow::API::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/homeflow/api.rb

Overview

A configuration instance

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



66
67
68
69
70
# File 'lib/homeflow/api.rb', line 66

def initialize
  @api_key = 'API_KEY_REQUIRED'
  @source = 'http://localhost:3000'
  @show_debug = false
end

Instance Attribute Details

#api_keyObject

Returns the value of attribute api_key.



64
65
66
# File 'lib/homeflow/api.rb', line 64

def api_key
  @api_key
end

#show_debugObject

Returns the value of attribute show_debug.



64
65
66
# File 'lib/homeflow/api.rb', line 64

def show_debug
  @show_debug
end

#sourceObject

Returns the value of attribute source.



64
65
66
# File 'lib/homeflow/api.rb', line 64

def source
  @source
end