Class: Betsy::ShopReceipt
- Inherits:
-
Object
- Object
- Betsy::ShopReceipt
- Includes:
- Model
- Defined in:
- lib/betsy/shop_receipt.rb
Class Method Summary collapse
- .create_receipt_shipment(shop_id, receipt_id, options = {}) ⇒ Object
- .get_shop_receipt(shop_id, receipt_id, options = {}) ⇒ Object
- .get_shop_receipts(shop_id, options = {}) ⇒ Object
Methods included from Model
Class Method Details
.create_receipt_shipment(shop_id, receipt_id, options = {}) ⇒ Object
50 51 52 |
# File 'lib/betsy/shop_receipt.rb', line 50 def self.create_receipt_shipment(shop_id, receipt_id, = {}) make_request(:post, "/v3/application/shops/#{shop_id}/receipts/#{receipt_id}/tracking", ) end |
.get_shop_receipt(shop_id, receipt_id, options = {}) ⇒ Object
42 43 44 |
# File 'lib/betsy/shop_receipt.rb', line 42 def self.get_shop_receipt(shop_id, receipt_id, = {}) make_request(:get, "/v3/application/shops/#{shop_id}/receipts/#{receipt_id}", ) end |
.get_shop_receipts(shop_id, options = {}) ⇒ Object
46 47 48 |
# File 'lib/betsy/shop_receipt.rb', line 46 def self.get_shop_receipts(shop_id, = {}) make_request(:get, "/v3/application/shops/#{shop_id}/receipts", ) end |