Class: Affiliation
- Inherits:
-
Object
- Object
- Affiliation
- Defined in:
- app/models/affiliation.rb
Overview
Instance Attribute Summary (collapse)
-
- (Array<Booking>) bookings
The Bookings associated with this Affiliation.
-
- (Customer) customer
The Customer associated with this Affiliation.
-
- (Provider) provider
The Provider associated with this Affiliation.
-
- (AffiliationState) state
The state of the Affiliation.
Instance Method Summary (collapse)
Instance Attribute Details
- (Array<Booking>) bookings
Returns the Bookings associated with this Affiliation.
13 14 15 |
# File 'app/models/affiliation.rb', line 13 def bookings @bookings end |
- (Customer) customer
Returns the Customer associated with this Affiliation.
7 8 9 |
# File 'app/models/affiliation.rb', line 7 def customer @customer end |
- (Provider) provider
Returns the Provider associated with this Affiliation.
4 5 6 |
# File 'app/models/affiliation.rb', line 4 def provider @provider end |
- (AffiliationState) state
Returns the state of the Affiliation.
10 11 12 |
# File 'app/models/affiliation.rb', line 10 def state @state end |