Skip to content

Commit

Permalink
Reference DeclinedReason from within services.
Browse files Browse the repository at this point in the history
  • Loading branch information
bartek committed Jul 23, 2015
1 parent f579625 commit c12b29a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gapipy/resources/booking/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
SingleSupplement,
)
from .customer import Customer
from .declined_reason import DeclinedReason


class TypeBasedServiceMeta(type):
def __call__(cls, *args, **kwargs):
Expand Down Expand Up @@ -78,6 +80,7 @@ def _price_fields(self):
def _resource_fields(self):
return [
('booking', 'Booking'),
('declined_reason', DeclinedReason),
('customers', Customer),
]

Expand Down

0 comments on commit c12b29a

Please sign in to comment.