module Seoshop::Customer
Public Instance Methods
get_customer(customer_id)
click to toggle source
# File lib/seoshop-api/api/customer.rb, line 13 def get_customer(customer_id) response = get("#{@shop_language}/customers/#{customer_id}.json") response.body ? response.body['customer'] : false end
get_customers(params = {})
click to toggle source
# File lib/seoshop-api/api/customer.rb, line 3 def get_customers(params = {}) response = get("#{@shop_language}/customers.json", params) response.body ? response.body['customers'] : false end
get_customers_count()
click to toggle source
# File lib/seoshop-api/api/customer.rb, line 8 def get_customers_count response = get("#{@shop_language}/customers/count.json") response.body ? response.body['count'] : false end