Sha256: 4c4aa7c3b74543a512e67f0d33012fb77d063712f27923f581b08baf616defc3

Contents?: true

Size: 247 Bytes

Versions: 9

Compression:

Stored size: 247 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

9 entries across 9 versions & 1 rubygems

Version Path
paddle-2.7.0 lib/paddle/classic/resources/products.rb
paddle-2.6.0 lib/paddle/classic/resources/products.rb
paddle-2.5.2 lib/paddle/classic/resources/products.rb
paddle-2.5.1 lib/paddle/classic/resources/products.rb
paddle-2.5.0 lib/paddle/classic/resources/products.rb
paddle-2.4.1 lib/paddle/classic/resources/products.rb
paddle-2.4.0 lib/paddle/classic/resources/products.rb
paddle-2.3.0 lib/paddle/classic/resources/products.rb
paddle-2.2.1 lib/paddle/classic/resources/products.rb