Class: Monokera::SDK::Customer
- Inherits:
-
ActiveModel
- Object
- Model
- ActiveModel
- Monokera::SDK::Customer
- Defined in:
- lib/monokera/sdk/customer.rb
Constant Summary collapse
- BASE_ENDPOINT =
'/v1/customers'
Class Method Summary collapse
Methods inherited from ActiveModel
all, build, build_data, collection_endpoint, create, create!, #destroy, find, #new_record?, #persisted?, raven_context, resource_endpoint, #save, #save!, serialize_keys_json_api, #update, #update!
Methods inherited from Model
#add_error, #as_json, #except_attributes!, model_name, #to_json, #valid?
Methods included from ActiveModelSerializer
#read_attribute_for_serialization
Class Method Details
.client ⇒ Object
21 22 23 |
# File 'lib/monokera/sdk/customer.rb', line 21 def self.client @client ||= CustomerService::Client.new end |