Sha256: 98266e01dcbcd745554b62e2da134d4a0bd91bb1f67d5a600f13f53d24782572
Contents?: true
Size: 454 Bytes
Versions: 9
Compression:
Stored size: 454 Bytes
Contents
module Access class ProductGroup include Access::MuchMeta def self.search(options = {}) Access::Api.new.search_product_groups options end def self.process_batch(chunk) chunk.map { |product_group| new(product_group) } end def initialize(values) @used_fields = [] set_up_methods(values) set_values(values) @products = Access::Product.process_batch(@products) if @products end end end
Version data entries
9 entries across 9 versions & 1 rubygems