Joao P Dubas avatar Joao P Dubas committed 78538be

Add `base_url` property to `Response`.

This property aids the creation of canonical url for product.

Comments (0)

Files changed (3)

-    version='',
+    version='',
     author='Magazine Luiza',
     description='Magazine Luiza Service Client',


 # -*- coding: utf-8 -*-
-VERSION = (0, 1, 3, 'dev')
+VERSION = (0, 1, 4, 'dev')
 __version__ = '.'.join(map(str, VERSION))
 __author__ = 'Magazine Luiza'
 __email__ = ''


     pages = None
     page_size = None
     time_spent = None
+    base_url = None
     base_img_url = None
     data = None
         self.time_spent = dict_obj.get('timeSpent')
         self.version = dict_obj.get('version')
         self.base_img_url = dict_obj.get('baseImgUrl')
+        self.base_url = dict_obj.get('baseUrl')
 class ResponseData(ManagedObject):
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.