Skip to content

Commit

Permalink
Merge pull request #90 from gadventures/add_agency_chains_to_agency
Browse files Browse the repository at this point in the history
Add agency_chains as a model_collection_field to the Agency Resource
  • Loading branch information
bartek committed Jan 26, 2018
2 parents 23dba5e + e24ee8d commit e9967d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gapipy/resources/booking/agency.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ class Agency(Resource):
_model_collection_fields = [
('documents', AgencyDocument),
('emails', AgencyEmail),
('agency_chains', 'AgencyChain'),
]
_resource_collection_fields = [
('bookings', 'Booking'),
Expand Down

0 comments on commit e9967d7

Please sign in to comment.