Class: PlentyClient::Order::CouponCode::Contact
- Inherits:
-
Object
- Object
- PlentyClient::Order::CouponCode::Contact
- Defined in:
- lib/plenty_client/order/coupon_code/contact.rb
Constant Summary collapse
- LIST_COUPON_CONTACTS =
'/orders/coupons/codes/contacts/{contactId}'.freeze
Class Method Summary collapse
Methods included from Request
Methods included from Endpoint
Class Method Details
.update(contact_id, headers = {}, &block) ⇒ Object
11 12 13 |
# File 'lib/plenty_client/order/coupon_code/contact.rb', line 11 def update(contact_id, headers = {}, &block) post(build_endpoint(LIST_COUPON_CONTACTS, contact: contact_id), headers, &block) end |