Class: YieldStarClient::Amenity
- Inherits:
-
Modelish::Base
- Object
- Modelish::Base
- YieldStarClient::Amenity
- Defined in:
- lib/yield_star_client/amenity_methods.rb
Overview
Represents a YieldStar amenity.
All amenities are guaranteed to have a name
and type
; value
is optional.
Instance Attribute Summary collapse
-
#Float[ ⇒ Float[ value the value of the amenity
value the value of the amenity.
-
#name ⇒ String
the name of the amenity.
-
#type ⇒ String
the type of the amenity.
Instance Attribute Details
#Float[ ⇒ Float[ value the value of the amenity
value the value of the amenity
12 13 14 |
# File 'lib/yield_star_client/amenity_methods.rb', line 12
def Float[
@Float[
end
|
#name ⇒ String
the name of the amenity
12 13 14 |
# File 'lib/yield_star_client/amenity_methods.rb', line 12 def name @name end |
#type ⇒ String
the type of the amenity
12 13 14 |
# File 'lib/yield_star_client/amenity_methods.rb', line 12 def type @type end |