Class: Tarpon::Request::Receipt
- Defined in:
- lib/tarpon/request/receipt.rb
Constant Summary
Constants inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Tarpon::Request::Base
Instance Method Details
#create(platform:, **data) ⇒ Object
6 7 8 9 |
# File 'lib/tarpon/request/receipt.rb', line 6 def create(platform:, **data) headers = { 'X-Platform' => platform } perform(method: :post, headers: headers, path: '/receipts', key: :public, body: data) end |