Class: Echowrap::Location

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

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#==, attr_reader, #attrs, #initialize, #update

Constructor Details

This class inherits a constructor from Echowrap::Base

Instance Attribute Details

#cityObject (readonly)

Returns the value of attribute city.



5
6
7
# File 'lib/echowrap/location.rb', line 5

def city
  @city
end

#countryObject (readonly)

Returns the value of attribute country.



5
6
7
# File 'lib/echowrap/location.rb', line 5

def country
  @country
end

#locationObject (readonly)

Returns the value of attribute location.



5
6
7
# File 'lib/echowrap/location.rb', line 5

def location
  @location
end

#regionObject (readonly)

Returns the value of attribute region.



5
6
7
# File 'lib/echowrap/location.rb', line 5

def region
  @region
end