Sha256: bc832d23a34a23da79806d567a26480f5ca2e9fe6e01afc10d009cc998413594

Contents?: true

Size: 262 Bytes

Versions: 10

Compression:

Stored size: 262 Bytes

Contents

module Paddle
  module Classic
    class TransactionsResource < Resource

      def list(entity:, id:)
        response = post_request("2.0/#{entity}/#{id}/transactions")
        Collection.from_response(response, type: Transaction)
      end

    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

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