Class: ReservationService::Init::SevenRooms
- Includes:
- ElasticAPM::SpanHelpers
- Defined in:
- app/services/reservation_service/init/seven_rooms.rb
Instance Attribute Summary collapse
-
#blockage_id ⇒ Object
Returns the value of attribute blockage_id.
-
#expiry_time ⇒ Object
Returns the value of attribute expiry_time.
-
#params ⇒ Object
Returns the value of attribute params.
-
#reservation ⇒ Object
Returns the value of attribute reservation.
Attributes inherited from HungryHub
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(params) ⇒ SevenRooms
constructor
A new instance of SevenRooms.
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_id ⇒ Object
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_time ⇒ Object
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 |
#params ⇒ Object
Returns the value of attribute params.
3 4 5 |
# File 'app/services/reservation_service/init/seven_rooms.rb', line 3 def params @params end |
#reservation ⇒ Object
Returns the value of attribute reservation.
3 4 5 |
# File 'app/services/reservation_service/init/seven_rooms.rb', line 3 def reservation @reservation end |