Module: LocoRb

Defined in:
lib/loco-rb.rb,
lib/loco-rb/client.rb,
lib/loco-rb/version.rb,
lib/loco-rb/api/asset.rb,
lib/loco-rb/api/export.rb,
lib/loco-rb/api/import.rb,
lib/loco-rb/api/locale.rb,
lib/loco-rb/configuration.rb,
lib/loco-rb/resource/asset.rb,
lib/loco-rb/resource/export.rb,
lib/loco-rb/resource/import.rb,
lib/loco-rb/resource/locale.rb,
lib/loco-rb/resource/base_resource.rb

Defined Under Namespace

Modules: Api, Resource Classes: Client, Configuration, Error

Constant Summary collapse

VERSION =
"0.1.1"

Class Method Summary collapse

Class Method Details

.configurationObject



8
9
10
# File 'lib/loco-rb.rb', line 8

def self.configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



12
13
14
# File 'lib/loco-rb.rb', line 12

def self.configure
  yield(configuration)
end