Module: Phrase::Ota

Defined in:
lib/phrase/ota.rb,
lib/phrase/ota/backend.rb,
lib/phrase/ota/version.rb,
lib/phrase/ota/configuration.rb

Defined Under Namespace

Classes: Backend, Configuration, UnknownDatacenterException

Constant Summary collapse

VERSION =
"1.0.3"

Class Method Summary collapse

Class Method Details

.configObject



11
12
13
# File 'lib/phrase/ota.rb', line 11

def self.config
  @config ||= Phrase::Ota::Configuration.new
end

.configure {|config| ... } ⇒ Object

Yields:



7
8
9
# File 'lib/phrase/ota.rb', line 7

def self.configure
  yield(config) if block_given?
end