Class: BookingstudioRuby::WebService::MakeBooking
- Inherits:
-
Object
- Object
- BookingstudioRuby::WebService::MakeBooking
- Defined in:
- lib/bookingstudio_ruby/web_service/booking_service.rb
Overview
/MakeBooking
token - (any)
bookingRequest - BookingstudioRuby::WebService::BookingRequest
Instance Attribute Summary collapse
-
#bookingRequest ⇒ Object
Returns the value of attribute bookingRequest.
-
#token ⇒ Object
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize(token = nil, bookingRequest = nil) ⇒ MakeBooking
constructor
A new instance of MakeBooking.
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
#bookingRequest ⇒ Object
Returns the value of attribute bookingRequest.
301 302 303 |
# File 'lib/bookingstudio_ruby/web_service/booking_service.rb', line 301 def bookingRequest @bookingRequest end |
#token ⇒ Object
Returns the value of attribute token.
300 301 302 |
# File 'lib/bookingstudio_ruby/web_service/booking_service.rb', line 300 def token @token end |