module Lazada::API::Brand
Public Instance Methods
get_brands(options = {})
click to toggle source
# File lib/lazada_dino/api/brand.rb, line 4 def get_brands(options = {}) options["Offset"] = 0 unless options["Offset"] options["Limit"] = 100 unless options["Limit"] url = request_url('GetBrands', options) response = self.class.get(url) process_response_errors! response return response['SuccessResponse']['Body'] if response['SuccessResponse'] response end