Module: TrimbleMaps

Defined in:
lib/trimble_maps.rb,
lib/trimble_maps/version.rb,
lib/trimble_maps/location.rb,
lib/trimble_maps/configuration.rb

Defined Under Namespace

Classes: Configuration, Error, Location

Constant Summary collapse

VERSION =
'0.1.0'.freeze

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



9
10
11
# File 'lib/trimble_maps.rb', line 9

def configuration
  @configuration
end

Class Method Details

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

Yields:



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

def self.configure
  yield(configuration)
end

.resetObject



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

def self.reset
  @configuration = Configuration.new
end