Class: Hiya::Configuration
- Inherits:
-
Object
- Object
- Hiya::Configuration
- Defined in:
- lib/hiya/configuration.rb
Instance Attribute Summary collapse
-
#api_url ⇒ Object
API URL.
-
#source ⇒ Object
Source from API/Line/Telegram.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
11 12 13 14 |
# File 'lib/hiya/configuration.rb', line 11 def initialize @api_url = 'https://api.iiil.io/v1' @source = 'api' end |
Instance Attribute Details
#api_url ⇒ Object
API URL
6 7 8 |
# File 'lib/hiya/configuration.rb', line 6 def api_url @api_url end |
#source ⇒ Object
Source from API/Line/Telegram
9 10 11 |
# File 'lib/hiya/configuration.rb', line 9 def source @source end |