Class: Monokera::SDK::Validity

Inherits:
ActiveModel show all
Defined in:
lib/monokera/sdk/validity.rb

Constant Summary collapse

BASE_ENDPOINT =
'/v1/validities'

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

.clientObject



13
14
15
# File 'lib/monokera/sdk/validity.rb', line 13

def self.client
  @client ||= ProductDefinition::Client.new
end