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 =
"1.1.1"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



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

def configuration
  @configuration
end

Class Method Details

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

Yields:



20
21
22
# File 'lib/yandex_locator.rb', line 20

def configure
  yield(configuration)
end

.resetObject



16
17
18
# File 'lib/yandex_locator.rb', line 16

def reset
  @configuration = Configuration.new
end