Class: YieldStarClient::Property

Inherits:
Modelish::Base
  • Object
show all
Defined in:
lib/yield_star_client/property_methods.rb

Overview

Represents a property in the YieldStar system.

A property is guaranteed to have an external_property_id and name; all other attributes are optional.

Instance Attribute Summary collapse

Instance Attribute Details

#addressString

the street address



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

def address
  @address
end

#cityString

the city in which the property is located



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

def city
  @city
end

#external_property_idString

the property ID



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

def external_property_id
  @external_property_id
end

#faxString

the fax telephone number



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

def fax
  @fax
end

#latitudeFloat

the latitude of the property’s location



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

def latitude
  @latitude
end

#longitudeFloat

the longitude of the property’s location



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

def longitude
  @longitude
end

#nameString

the name of the property



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

def name
  @name
end

#phoneString

the voice telephone number



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

def phone
  @phone
end

#stateString

the two-letter code of the state in which the property is located



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

def state
  @state
end

#unit_countInteger

the number of units at this property



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

def unit_count
  @unit_count
end

#websiteString

the URL of the property website



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

def website
  @website
end

#year_builtInteger

the year in which the property was built



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

def year_built
  @year_built
end

#zipString

the zip code



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

def zip
  @zip
end