Sha256: d3a0827380347d0004097c0c5c46bd99cfa537f094a85ff33d000777764bd1fc

Contents?: true

Size: 768 Bytes

Versions: 20

Compression:

Stored size: 768 Bytes

Contents

module Adparlor
  module Facebook
    module GraphApi
      class ProductCatalog < GraphObject
        include Fields::ProductCatalog
        include Traits::Methods
        field_attrs FIELDS

        def product_items
          @product_items ||= CollectionProxy.new ProductItem, "/#{id}/products", access_token
        end

        def product_feeds
          @product_feeds ||= CollectionProxy.new ProductFeed, "/#{id}/product_feeds", access_token
        end

        def product_groups
          @product_groups ||= CollectionProxy.new ProductGroup, "/#{id}/product_groups", access_token
        end

        def product_sets
          @product_sets ||= CollectionProxy.new ProductSet, "/#{id}/product_sets", access_token
        end
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
adparlor-facebook-0.8.2 lib/adparlor/facebook/graph_api/product_catalog.rb
adparlor-facebook-0.8.0 lib/adparlor/facebook/graph_api/product_catalog.rb
adparlor-facebook-0.7.9 lib/adparlor/facebook/graph_api/product_catalog.rb
adparlor-facebook-0.7.8 lib/adparlor/facebook/graph_api/product_catalog.rb
adparlor-facebook-0.7.7 lib/adparlor/facebook/graph_api/product_catalog.rb
adparlor-facebook-0.7.6 lib/adparlor/facebook/graph_api/product_catalog.rb
adparlor-facebook-0.7.5 lib/adparlor/facebook/graph_api/product_catalog.rb
adparlor-facebook-0.7.4 lib/adparlor/facebook/graph_api/product_catalog.rb
adparlor-facebook-0.7.3 lib/adparlor/facebook/graph_api/product_catalog.rb
adparlor-facebook-0.7.2 lib/adparlor/facebook/graph_api/product_catalog.rb
adparlor-facebook-0.7.1 lib/adparlor/facebook/graph_api/product_catalog.rb
adparlor-facebook-0.7.0 lib/adparlor/facebook/graph_api/product_catalog.rb
adparlor-facebook-0.6.6 lib/adparlor/facebook/graph_api/product_catalog.rb
adparlor-facebook-0.6.5 lib/adparlor/facebook/graph_api/product_catalog.rb
adparlor-facebook-0.6.4 lib/adparlor/facebook/graph_api/product_catalog.rb
adparlor-facebook-0.6.3 lib/adparlor/facebook/graph_api/product_catalog.rb
adparlor-facebook-0.6.2 lib/adparlor/facebook/graph_api/product_catalog.rb
adparlor-facebook-0.6.1 lib/adparlor/facebook/graph_api/product_catalog.rb
adparlor-facebook-0.6.0 lib/adparlor/facebook/graph_api/product_catalog.rb
adparlor-facebook-0.5.9 lib/adparlor/facebook/graph_api/product_catalog.rb