Class: ReservationService::Init::SevenRooms

Inherits:
HungryHub show all
Includes:
ElasticAPM::SpanHelpers
Defined in:
app/services/reservation_service/init/seven_rooms.rb

Instance Attribute Summary collapse

Attributes inherited from HungryHub

#omise_token

Attributes inherited from Base

#omise_token

Instance Method Summary collapse

Methods inherited from HungryHub

#create_temporary, #update_temporary

Methods included from ReservationRequestLocker

#clear_request_lock, #duplicate_request?, #lock_request

Methods included from DefaultErrorContainer

#error, #error_message_simple, #merge_errors

Methods inherited from Base

#create_temporary, #update_temporary

Constructor Details

#initialize(params) ⇒ SevenRooms

Returns a new instance of SevenRooms.



5
6
7
8
# File 'app/services/reservation_service/init/seven_rooms.rb', line 5

def initialize(params)
  super(params)
  @blockage_id = nil
end

Instance Attribute Details

#blockage_idObject

Returns the value of attribute blockage_id.



3
4
5
# File 'app/services/reservation_service/init/seven_rooms.rb', line 3

def blockage_id
  @blockage_id
end

#expiry_timeObject

Returns the value of attribute expiry_time.



3
4
5
# File 'app/services/reservation_service/init/seven_rooms.rb', line 3

def expiry_time
  @expiry_time
end

#paramsObject

Returns the value of attribute params.



3
4
5
# File 'app/services/reservation_service/init/seven_rooms.rb', line 3

def params
  @params
end

#reservationObject

Returns the value of attribute reservation.



3
4
5
# File 'app/services/reservation_service/init/seven_rooms.rb', line 3

def reservation
  @reservation
end