Class: Booking

Inherits:
Object
  • Object
show all
Defined in:
app/models/booking.rb

Overview

Represent a Booking of a Slot from the Provider by the Customer.

Instance Attribute Summary (collapse)

Instance Attribute Details

- (Period) period

Returns the Period that this Booking comprehend.

Returns:



4
5
6
# File 'app/models/booking.rb', line 4

def period
  @period
end

- (BookingState) state

Returns the state of the Booking.

Returns:



7
8
9
# File 'app/models/booking.rb', line 7

def state
  @state
end