Skip to content

Commit

Permalink
Add Video resource
Browse files Browse the repository at this point in the history
  • Loading branch information
bartek committed Sep 20, 2017
1 parent 9daad54 commit 7169271
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions gapipy/resources/tour/video.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
# Python 2 and 3
from __future__ import unicode_literals

from ..base import Resource



class Video(Resource):

_resource_name = 'videos'

_as_is_fields = [
'id',
'href',
'url',
'code',
'source',
'title',
'description',
'image',
]

0 comments on commit 7169271

Please sign in to comment.