Class: Hiya::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/hiya/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_urlObject

API URL



6
7
8
# File 'lib/hiya/configuration.rb', line 6

def api_url
  @api_url
end

#sourceObject

Source from API/Line/Telegram



9
10
11
# File 'lib/hiya/configuration.rb', line 9

def source
  @source
end