Class: Location::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/location.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



25
26
27
28
29
30
# File 'lib/location.rb', line 25

def initialize
  @default_service = Services::Republica
  @service_options = {}
  @concat_type_to_street = false
  @normalizable_attributes = %i{state city}
end

Instance Attribute Details

#concat_type_to_streetObject

Returns the value of attribute concat_type_to_street.



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

def concat_type_to_street
  @concat_type_to_street
end

#default_serviceObject

Returns the value of attribute default_service.



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

def default_service
  @default_service
end

#normalizable_attributesObject

Returns the value of attribute normalizable_attributes.



23
24
25
# File 'lib/location.rb', line 23

def normalizable_attributes
  @normalizable_attributes
end

#service_optionsObject

Returns the value of attribute service_options.



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

def service_options
  @service_options
end