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/client.rb,
lib/ecwid_api/entity.rb,
lib/ecwid_api/o_auth.rb,
lib/ecwid_api/person.rb,
lib/ecwid_api/product.rb,
lib/ecwid_api/version.rb,
lib/ecwid_api/api/base.rb,
lib/ecwid_api/category.rb,
lib/ecwid_api/customer.rb,
lib/ecwid_api/api/orders.rb,
lib/ecwid_api/order_item.rb,
lib/ecwid_api/api/products.rb,
lib/ecwid_api/product_type.rb,
lib/ecwid_api/api/customers.rb,
lib/ecwid_api/api/categories.rb,
lib/ecwid_api/paged_enumerator.rb,
lib/ecwid_api/api/product_types.rb,
lib/ecwid_api/product_combination.rb,
lib/ecwid_api/paged_ecwid_response.rb,
lib/ecwid_api/product_type_attribute.rb,
lib/ecwid_api/unpaged_ecwid_response.rb,
lib/ecwid_api/api/product_combinations.rb
Overview
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
Defined Under Namespace
Modules: Api Classes: Category, Client, Customer, Entity, Error, OAuth, Order, OrderItem, PagedEcwidResponse, PagedEnumerator, Person, Product, ProductCombination, ProductType, ProductTypeAttribute, ResponseError, UnpagedEcwidResponse
Constant Summary collapse
- VERSION =
"0.2.3"