Class: YieldStarClient::Amenity

Inherits:
Modelish::Base
  • Object
show all
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

Instance Attribute Details

#Float[Float[ value the value of the amenity

value the value of the amenity

Returns:

  • (Float[ value the value of the amenity)

    the current value of Float[



12
13
14
# File 'lib/yield_star_client/amenity_methods.rb', line 12

def Float[
  @Float[
end

#nameString

the name of the amenity

Returns:

  • (String)

    the current value of name



12
13
14
# File 'lib/yield_star_client/amenity_methods.rb', line 12

def name
  @name
end

#typeString

the type of the amenity

Returns:

  • (String)

    the current value of type



12
13
14
# File 'lib/yield_star_client/amenity_methods.rb', line 12

def type
  @type
end