Class: Booker::V5::Models::Service
- Defined in:
- lib/booker/v5/models/service.rb
Constant Summary
Constants inherited from Model
Constants inherited from Model
Instance Attribute Summary collapse
-
#availability ⇒ Object
Returns the value of attribute availability.
-
#duration ⇒ Object
Returns the value of attribute duration.
-
#requiresStaff ⇒ Object
Returns the value of attribute requiresStaff.
-
#serviceId ⇒ Object
Returns the value of attribute serviceId.
-
#serviceName ⇒ Object
Returns the value of attribute serviceName.
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
#availability ⇒ Object
Returns the value of attribute availability.
5 6 7 |
# File 'lib/booker/v5/models/service.rb', line 5 def availability @availability end |
#duration ⇒ Object
Returns the value of attribute duration.
5 6 7 |
# File 'lib/booker/v5/models/service.rb', line 5 def duration @duration end |
#requiresStaff ⇒ Object
Returns the value of attribute requiresStaff.
5 6 7 |
# File 'lib/booker/v5/models/service.rb', line 5 def requiresStaff @requiresStaff end |
#serviceId ⇒ Object
Returns the value of attribute serviceId.
5 6 7 |
# File 'lib/booker/v5/models/service.rb', line 5 def serviceId @serviceId end |
#serviceName ⇒ Object
Returns the value of attribute serviceName.
5 6 7 |
# File 'lib/booker/v5/models/service.rb', line 5 def serviceName @serviceName end |