Class: LocoRb::Configuration
- Inherits:
-
Object
- Object
- LocoRb::Configuration
- Defined in:
- lib/loco-rb/configuration.rb
Constant Summary collapse
- DEFAULT_ENDPOINT =
'https://localise.biz/api'
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#locale_paths ⇒ Object
Returns the value of attribute locale_paths.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
8 9 10 11 |
# File 'lib/loco-rb/configuration.rb', line 8 def initialize @api_key = nil @locale_paths = [] end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
6 7 8 |
# File 'lib/loco-rb/configuration.rb', line 6 def api_key @api_key end |
#locale_paths ⇒ Object
Returns the value of attribute locale_paths.
6 7 8 |
# File 'lib/loco-rb/configuration.rb', line 6 def locale_paths @locale_paths end |