Class: ChatBot::Configuration
- Inherits:
-
Object
- Object
- ChatBot::Configuration
- Defined in:
- lib/chatbot/configuration.rb
Constant Summary collapse
- API_URI =
'https://api.groupme.com/v3/bots/post'
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#api_uri ⇒ Object
Returns the value of attribute api_uri.
-
#bot_id ⇒ Object
Returns the value of attribute bot_id.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 |
# File 'lib/chatbot/configuration.rb', line 7 def initialize @api_uri = API_URI end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
5 6 7 |
# File 'lib/chatbot/configuration.rb', line 5 def api_key @api_key end |
#api_uri ⇒ Object
Returns the value of attribute api_uri.
5 6 7 |
# File 'lib/chatbot/configuration.rb', line 5 def api_uri @api_uri end |
#bot_id ⇒ Object
Returns the value of attribute bot_id.
5 6 7 |
# File 'lib/chatbot/configuration.rb', line 5 def bot_id @bot_id end |