Class: Booker::V4::Models::Room

Inherits:
Model
  • Object
show all
Defined in:
lib/booker/v4/models/room.rb

Constant Summary

Constants inherited from Model

Model::CONSTANTIZE_MODULE

Instance Attribute Summary collapse

Method Summary

Methods inherited from Model

constantize, from_hash, from_list, #initialize, #to_hash, #to_json

Constructor Details

This class inherits a constructor from Booker::Model

Instance Attribute Details

#CapacityObject

Returns the value of attribute Capacity.



5
6
7
# File 'lib/booker/v4/models/room.rb', line 5

def Capacity
  @Capacity
end

#DescriptionObject

Returns the value of attribute Description.



5
6
7
# File 'lib/booker/v4/models/room.rb', line 5

def Description
  @Description
end

#IDObject

Returns the value of attribute ID.



5
6
7
# File 'lib/booker/v4/models/room.rb', line 5

def ID
  @ID
end

#LocationIDObject

Returns the value of attribute LocationID.



5
6
7
# File 'lib/booker/v4/models/room.rb', line 5

def LocationID
  @LocationID
end

#NameObject

Returns the value of attribute Name.



5
6
7
# File 'lib/booker/v4/models/room.rb', line 5

def Name
  @Name
end

#TreatmentsObject

Returns the value of attribute Treatments.



5
6
7
# File 'lib/booker/v4/models/room.rb', line 5

def Treatments
  @Treatments
end