Class: Monokera::SDK::Document
- Inherits:
-
ActiveModel
- Object
- Model
- ActiveModel
- Monokera::SDK::Document
- Defined in:
- lib/monokera/sdk/document.rb
Constant Summary collapse
- BASE_ENDPOINT =
'/v1/documents'
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
14 15 16 |
# File 'lib/monokera/sdk/document.rb', line 14 def self.client @client ||= DocumentService::Client.new end |