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.0.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:



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

def self.configure
  yield(configuration)
end

.resetObject



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

def self.reset
  @configuration = Configuration.new
end