Module: Lazada::API::Brand
- Included in:
- Client
- Defined in:
- lib/lazada_dino/api/brand.rb
Instance Method Summary collapse
Instance Method Details
#get_brands(options = {}) ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/lazada_dino/api/brand.rb', line 4 def get_brands( = {}) ["Offset"] = 0 unless ["Offset"] ["Limit"] = 100 unless ["Limit"] url = request_url('GetBrands', ) response = self.class.get(url) process_response_errors! response return response['SuccessResponse']['Body'] if response['SuccessResponse'] response end |