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.0"
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
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
21 22 23 |
# File 'lib/yandex_locator.rb', line 21 def self.configure yield(configuration) end |
.reset ⇒ Object
17 18 19 |
# File 'lib/yandex_locator.rb', line 17 def self.reset @configuration = Configuration.new end |