Class: BookingstudioRuby::WebService::MakeBooking

Inherits:
Object
  • Object
show all
Defined in:
lib/bookingstudio_ruby/web_service/booking_service.rb

Overview

/MakeBooking

token - (any)
bookingRequest - BookingstudioRuby::WebService::BookingRequest

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(token = nil, bookingRequest = nil) ⇒ MakeBooking

Returns a new instance of MakeBooking.



303
304
305
306
# File 'lib/bookingstudio_ruby/web_service/booking_service.rb', line 303

def initialize(token = nil, bookingRequest = nil)
  @token = token
  @bookingRequest = bookingRequest
end

Instance Attribute Details

#bookingRequestObject

Returns the value of attribute bookingRequest.



301
302
303
# File 'lib/bookingstudio_ruby/web_service/booking_service.rb', line 301

def bookingRequest
  @bookingRequest
end

#tokenObject

Returns the value of attribute token.



300
301
302
# File 'lib/bookingstudio_ruby/web_service/booking_service.rb', line 300

def token
  @token
end