Class: BotDelive::Base
- Inherits:
-
Object
- Object
- BotDelive::Base
- Defined in:
- lib/bot_delive/base.rb
Instance Attribute Summary collapse
-
#app_id ⇒ Object
Returns the value of attribute app_id.
-
#secret_key ⇒ Object
Returns the value of attribute secret_key.
Instance Method Summary collapse
-
#initialize(values = {}) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(values = {}) ⇒ Base
Returns a new instance of Base.
4 5 6 7 |
# File 'lib/bot_delive/base.rb', line 4 def initialize(values = {}) @app_id = values[:app_id] @secret_key = values[:secret_key] end |
Instance Attribute Details
#app_id ⇒ Object
Returns the value of attribute app_id.
2 3 4 |
# File 'lib/bot_delive/base.rb', line 2 def app_id @app_id end |
#secret_key ⇒ Object
Returns the value of attribute secret_key.
2 3 4 |
# File 'lib/bot_delive/base.rb', line 2 def secret_key @secret_key end |