Class: Cufinder::CloLocation

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

Overview

CLO Location

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data = {}) ⇒ CloLocation

Returns a new instance of CloLocation.



474
475
476
477
478
479
480
481
482
483
# File 'lib/cufinder_ruby/types.rb', line 474

def initialize(data = {})
  @country = data["country"]
  @state = data["state"]
  @city = data["city"]
  @postal_code = data["postal_code"]
  @line1 = data["line1"]
  @line2 = data["line2"]
  @latitude = data["latitude"]
  @longitude = data["longitude"]
end

Instance Attribute Details

#cityObject

Returns the value of attribute city.



472
473
474
# File 'lib/cufinder_ruby/types.rb', line 472

def city
  @city
end

#countryObject

Returns the value of attribute country.



472
473
474
# File 'lib/cufinder_ruby/types.rb', line 472

def country
  @country
end

#latitudeObject

Returns the value of attribute latitude.



472
473
474
# File 'lib/cufinder_ruby/types.rb', line 472

def latitude
  @latitude
end

#line1Object

Returns the value of attribute line1.



472
473
474
# File 'lib/cufinder_ruby/types.rb', line 472

def line1
  @line1
end

#line2Object

Returns the value of attribute line2.



472
473
474
# File 'lib/cufinder_ruby/types.rb', line 472

def line2
  @line2
end

#longitudeObject

Returns the value of attribute longitude.



472
473
474
# File 'lib/cufinder_ruby/types.rb', line 472

def longitude
  @longitude
end

#postal_codeObject

Returns the value of attribute postal_code.



472
473
474
# File 'lib/cufinder_ruby/types.rb', line 472

def postal_code
  @postal_code
end

#stateObject

Returns the value of attribute state.



472
473
474
# File 'lib/cufinder_ruby/types.rb', line 472

def state
  @state
end