Class: Zenodo::Resources::Object

Inherits:
SimpleDelegator
  • Object
show all
Includes:
Attributes, Serializers
Defined in:
lib/zenodo/resources/object.rb,
lib/zenodo/resources/object/serializers.rb

Direct Known Subclasses

Deposition, DepositionFile

Defined Under Namespace

Modules: Attributes, Serializers

Instance Method Summary collapse

Methods included from Attributes

#attributes, included, #method_missing

Methods included from Serializers

included, #serialize

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Zenodo::Resources::Object::Attributes

Instance Method Details

#inspectObject



18
19
20
# File 'lib/zenodo/resources/object.rb', line 18

def inspect
  "#<#{self.class.name}:#{'0x00%x' % (object_id << 1)} #{inspect_attributes}>"
end