Class: Booker::V5::Models::Service

Inherits:
Model show all
Defined in:
lib/booker/v5/models/service.rb

Constant Summary

Constants inherited from Model

Model::CONSTANTIZE_MODULE

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

#availabilityObject

Returns the value of attribute availability.



5
6
7
# File 'lib/booker/v5/models/service.rb', line 5

def availability
  @availability
end

#durationObject

Returns the value of attribute duration.



5
6
7
# File 'lib/booker/v5/models/service.rb', line 5

def duration
  @duration
end

#requiresStaffObject

Returns the value of attribute requiresStaff.



5
6
7
# File 'lib/booker/v5/models/service.rb', line 5

def requiresStaff
  @requiresStaff
end

#serviceIdObject

Returns the value of attribute serviceId.



5
6
7
# File 'lib/booker/v5/models/service.rb', line 5

def serviceId
  @serviceId
end

#serviceNameObject

Returns the value of attribute serviceName.



5
6
7
# File 'lib/booker/v5/models/service.rb', line 5

def serviceName
  @serviceName
end