Class: Dd2tf::Config
- Inherits:
-
Object
- Object
- Dd2tf::Config
- Defined in:
- lib/dd2tf/config.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
readonly
Returns the value of attribute api_key.
-
#app_key ⇒ Object
readonly
Returns the value of attribute app_key.
Instance Method Summary collapse
-
#initialize(api_key, app_key) ⇒ Config
constructor
A new instance of Config.
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_key ⇒ Object (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_key ⇒ Object (readonly)
Returns the value of attribute app_key.
3 4 5 |
# File 'lib/dd2tf/config.rb', line 3 def app_key @app_key end |