Class: BigCommerce::ManagementAPI::Customers::AttributeValues
- Defined in:
- lib/big_commerce/management_api/customers.rb
Constant Summary collapse
- PATH =
"customers/attribute-values"
- RESULT_INSTANCE =
AttributeValue
Constants inherited from Endpoint
Endpoint::CONTENT_TYPE, Endpoint::CONTENT_TYPE_JSON, Endpoint::HOST, Endpoint::JSON_CONTENT_TYPES, Endpoint::PORT, Endpoint::RESULT_KEY, Endpoint::USER_AGENT
Instance Method Summary collapse
Methods inherited from Endpoint
Constructor Details
This class inherits a constructor from BigCommerce::ManagementAPI::Endpoint
Instance Method Details
#get(options = {}) ⇒ Object
69 70 71 72 73 74 75 76 77 78 |
# File 'lib/big_commerce/management_api/customers.rb', line 69 def get( = {}) GET( PATH, with_in_param( , :attribute_id, :customer_id ) ) end |
#upsert(*attributes) ⇒ Object
80 81 82 83 84 |
# File 'lib/big_commerce/management_api/customers.rb', line 80 def upsert(*attributes) attributes.flatten! PUT(PATH, attributes) end |