Class: BotDelive::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/bot_delive/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_idObject

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_keyObject

Returns the value of attribute secret_key.



2
3
4
# File 'lib/bot_delive/base.rb', line 2

def secret_key
  @secret_key
end