Class: Subledger::Domain::ArchivedCategory

Inherits:
Category
  • Object
show all
Defined in:
lib/subledger/domain/category.rb

Defined Under Namespace

Classes: Entity

Instance Attribute Summary

Attributes inherited from Category

#book, #normal_balance

Attributes included from Roles::Versionable

#version

Attributes included from Roles::Storable

#client, #store

Attributes included from Roles::Identifiable

#id

Attributes included from Roles::Describable

#description, #reference

Class Method Summary collapse

Methods inherited from Category

#accounts, active_klass, archived_klass, #initialize, patch_keys, post_keys, root_klass

Methods included from Roles::Restable

#patch_hash, #post_hash, #serializable_hash, #to_json

Methods included from Roles::Archivable

#archive

Methods included from Roles::Activatable

#activate

Methods included from Roles::Collectable

included

Methods included from Roles::Updatable

included, #update

Methods included from Roles::Readable

included, #read

Methods included from Roles::Creatable

#create, included

Methods included from Roles::Versionable

included

Methods included from Roles::Storable

raise_unless_creatable

Methods included from Roles::Describable

raise_unless_creatable

Methods included from Roles::Attributable

#attributes

Methods included from Subledger::Domain

#==, #collection_name, #entity_name, included, #to_s

Constructor Details

This class inherits a constructor from Subledger::Domain::Category

Class Method Details

.sub_klassesObject



116
117
118
# File 'lib/subledger/domain/category.rb', line 116

def self.sub_klasses
  [ archived_klass ]
end