class Centaman::Service::BookingType
Public Class Methods
find(booking_type_id, date)
click to toggle source
# File lib/centaman/service/booking_type.rb, line 20 def self.find(booking_type_id, date) new.objects.detect {|obj| obj.booking_type_id == booking_type_id } end
Public Instance Methods
all_booking_type()
click to toggle source
# File lib/centaman/service/booking_type.rb, line 13 def all_booking_type object_class.new({ 'BookingTypeId' => 0, 'BookingDescription' => 'All Booking Types' }) end
endpoint()
click to toggle source
# File lib/centaman/service/booking_type.rb, line 5 def endpoint '/ticket_services/TimedTicket' end
object_class()
click to toggle source
# File lib/centaman/service/booking_type.rb, line 9 def object_class Centaman::Object::BookingType end