Class: LocoRb::Configuration

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

Constant Summary collapse

DEFAULT_ENDPOINT =
'https://localise.biz/api'

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_keyObject

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_pathsObject

Returns the value of attribute locale_paths.



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

def locale_paths
  @locale_paths
end