Class: Dd2tf::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/dd2tf/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(api_key, app_key) ⇒ Config

Returns a new instance of Config.



4
5
6
7
# File 'lib/dd2tf/config.rb', line 4

def initialize(api_key, app_key)
  @api_key = api_key
  @app_key = app_key
end

Instance Attribute Details

#api_keyObject (readonly)

Returns the value of attribute api_key.



3
4
5
# File 'lib/dd2tf/config.rb', line 3

def api_key
  @api_key
end

#app_keyObject (readonly)

Returns the value of attribute app_key.



3
4
5
# File 'lib/dd2tf/config.rb', line 3

def app_key
  @app_key
end