Sha256: 5b679d4177e2f4bfabe9ad5adb17c62d3fb94f75fedea92a18a85b67231dc051

Contents?: true

Size: 260 Bytes

Versions: 9

Compression:

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

9 entries across 9 versions & 1 rubygems

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