Module: YandexLocator

Defined in:
lib/yandex_locator.rb,
lib/yandex_locator/api.rb,
lib/yandex_locator/client.rb,
lib/yandex_locator/version.rb,
lib/yandex_locator/configuration.rb

Defined Under Namespace

Modules: API Classes: Client, Configuration

Constant Summary collapse

VERSION =
"0.2.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



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

def configuration
  @configuration
end

Class Method Details

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

Yields:



22
23
24
# File 'lib/yandex_locator.rb', line 22

def self.configure
  yield(configuration)
end

.resetObject



18
19
20
# File 'lib/yandex_locator.rb', line 18

def self.reset
  @configuration = Configuration.new
end