module EcwidApi

Public: This is the main namespace for the EcwidApi. It can be used to store the default client.

Public: Presents a paged Ecwid response as an Enumerator with a PagedEnumerator

Example

response = PagedEcwidResponse.new(client, "products", priceFrom: 10) do |product_hash|
  Product.new(product_hash, click: client)
end

response.each do |product|
  # do stuff the the product
end

Public: Presents an Ecwid response as an Array

Example

response = UnpagedEcwidResponse.new(client, "products", priceFrom: 10) do |product_hash|
  Product.new(product_hash, click: client)
end

response.each do |product|
  # do stuff the the product
end

Constants

VERSION