Module: Tripod::Components

Extended by:
ActiveSupport::Concern
Includes:
ActiveModel::Conversion, ActiveModel::Naming, ActiveModel::Validations, Attributes, Callbacks, EagerLoading, Fields, Finders, Persistence, Predicates, Repository, Serialization, State, Validations
Included in:
Resource
Defined in:
lib/tripod/components.rb

Overview

All modules that a Resource is composed of are defined in this module, to keep the resource module from getting too cluttered.

Instance Attribute Summary

Attributes included from State

#destroyed, #new_record

Attributes included from EagerLoading

#object_resources, #predicate_resources

Attributes included from Repository

#repository

Method Summary

Methods included from State

#destroyed?, #new_record?, #persisted?

Methods included from Serialization

#to_json, #to_nt, #to_rdf, #to_text, #to_ttl

Methods included from EagerLoading

#eager_load_object_triples!, #eager_load_predicate_triples!, #get_related_resource

Methods included from Repository

#get_triples_for_this_resource, #hydrate!, #repository_as_graph, #retrieve_triples_from_database

Methods included from Persistence

#destroy, #save, #save!, #update_attribute, #update_attributes

Methods included from Attributes

#read_attribute, #write_attribute

Methods included from Predicates

#append_to_predicate, #predicates, #read_predicate, #remove_predicate, #write_predicate