Class: Location::Configuration
- Inherits:
-
Object
- Object
- Location::Configuration
- Defined in:
- lib/location.rb
Instance Attribute Summary collapse
-
#concat_type_to_street ⇒ Object
Returns the value of attribute concat_type_to_street.
-
#default_service ⇒ Object
Returns the value of attribute default_service.
-
#normalizable_attributes ⇒ Object
Returns the value of attribute normalizable_attributes.
-
#service_options ⇒ Object
Returns the value of attribute service_options.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_street ⇒ Object
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_service ⇒ Object
Returns the value of attribute default_service.
20 21 22 |
# File 'lib/location.rb', line 20 def default_service @default_service end |
#normalizable_attributes ⇒ Object
Returns the value of attribute normalizable_attributes.
23 24 25 |
# File 'lib/location.rb', line 23 def normalizable_attributes @normalizable_attributes end |
#service_options ⇒ Object
Returns the value of attribute service_options.
21 22 23 |
# File 'lib/location.rb', line 21 def @service_options end |