Class: LinkedData::Client::Models::Reply

Inherits:
Base
  • Object
show all
Includes:
Collection, ReadWrite
Defined in:
lib/ontologies_api_client/models/reply.rb

Constant Summary

Constants included from ReadWrite

ReadWrite::HTTP

Constants inherited from Base

Base::HTTP

Instance Attribute Summary

Attributes inherited from Base

#context, #instance_values, #links

Instance Method Summary collapse

Methods included from ReadWrite

#changed_values, #delete, #save, #update, #update_from_params

Methods included from Collection

included

Methods inherited from Base

#[], #[]=, attributes, class_for_type, #explore, #id, #initialize, #marshal_dump, #marshal_load, #method_missing, #respond_to?, #to_hash, #to_jsonld, #type

Constructor Details

This class inherits a constructor from LinkedData::Client::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class LinkedData::Client::Base

Instance Method Details

#deletable?(user) ⇒ Boolean

Returns:

  • (Boolean)


11
12
13
# File 'lib/ontologies_api_client/models/reply.rb', line 11

def deletable?(user)
  false
end

#uuidObject



15
16
17
# File 'lib/ontologies_api_client/models/reply.rb', line 15

def uuid
  self.id.split("/").last
end