Class: Booker::V4::Models::Type
- Defined in:
- lib/booker/v4/models/type.rb
Direct Known Subclasses
AvailableInAdvanceDateUnitType, BusinessType, Category, Country, CustomerRecordType, DurationType, FlexiblePriceIncrementType, Gender, PaymentMethod, Source, Status, SubCategory
Constant Summary
Constants inherited from Model
Instance Attribute Summary collapse
-
#ID ⇒ Object
Returns the value of attribute ID.
-
#Name ⇒ Object
Returns the value of attribute Name.
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
#ID ⇒ Object
Returns the value of attribute ID.
5 6 7 |
# File 'lib/booker/v4/models/type.rb', line 5 def ID @ID end |
#Name ⇒ Object
Returns the value of attribute Name.
5 6 7 |
# File 'lib/booker/v4/models/type.rb', line 5 def Name @Name end |