Sha256: 657905517fb3fc9237c1f7c4db67300497c5a3a03efc570b8df70618d497214d

Contents?: true

Size: 249 Bytes

Versions: 10

Compression:

Stored size: 249 Bytes

Contents

module Paddle
  module Classic
    class ProductsResource < Resource

      def list
        response = post_request("2.0/product/get_products")
        Collection.from_response(response, type: Product, key: "products")
      end

    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
paddle-2.2.0 lib/paddle/classic/resources/products.rb
paddle-2.1.4 lib/paddle/classic/resources/products.rb
paddle-2.1.3 lib/paddle/classic/resources/products.rb
paddle-2.1.2 lib/paddle/classic/resources/products.rb
paddle-2.1.1 lib/paddle/classic/resources/products.rb
paddle-2.1.0 lib/paddle/classic/resources/products.rb
paddle-2.0.0 lib/paddle/classic/resources/products.rb
paddle-1.1.2 lib/paddle/classic/resources/products.rb
paddle-1.1.1 lib/paddle/classic/resources/products.rb
paddle-1.1.0 lib/paddle/classic/resources/products.rb