Module: EcwidApi

Defined in:
lib/ecwid_api.rb,
lib/ecwid_api/api.rb,
lib/ecwid_api/error.rb,
lib/ecwid_api/order.rb,
lib/ecwid_api/o_auth.rb,
lib/ecwid_api/entity.rb,
lib/ecwid_api/person.rb,
lib/ecwid_api/client.rb,
lib/ecwid_api/product.rb,
lib/ecwid_api/version.rb,
lib/ecwid_api/category.rb,
lib/ecwid_api/api/base.rb,
lib/ecwid_api/api/orders.rb,
lib/ecwid_api/order_item.rb,
lib/ecwid_api/api/products.rb,
lib/ecwid_api/api/categories.rb,
lib/ecwid_api/paged_enumerator.rb,
lib/ecwid_api/product_combination.rb,
lib/ecwid_api/paged_ecwid_response.rb,
lib/ecwid_api/api/product_combinations.rb

Overview

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

Defined Under Namespace

Modules: Api Classes: Category, Client, Entity, Error, OAuth, Order, OrderItem, PagedEcwidResponse, PagedEnumerator, Person, Product, ProductCombination, ResponseError

Constant Summary collapse

VERSION =
"0.2.2"