Sha256: 3ec9c2fbfc83844ad27e0361ec114d18af8606a007463ba36e13fe3c36c37d68

Contents?: true

Size: 709 Bytes

Versions: 3

Compression:

Stored size: 709 Bytes

Contents

module Access
  class ProductGroup
    include Access::MuchMeta

    def initialize(values)
      @used_fields = []
      set_up_methods(values)
      set_values(values)
      # @categories = Access::Category.process_batch(@categories) if @categories
      # @links = Access::Link.new(@links) if @links
      # @offer_store = Access::Store.new(@offer_store) if @offer_store
      # @offer_uses_remaining = Access::Redemption.new(@offer_uses_remaining) if @offer_uses_remaining
    end


    def self.search(options = {})
      Access::Api.new.search_product_groups options
    end

    # def location
    #   @offer_store.physical_location
    # end

    # def store
    #   @offer_store
    # end


  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
access-2.0.54 lib/access/product_group.rb
access-2.0.53 lib/access/product_group.rb
access-2.0.52 lib/access/product_group.rb