Class: Caliper::Entities::EntityBase
- Includes:
- Jsonable, SchemaDotOrg::Thing
- Defined in:
- lib/caliper/entities/entity_base.rb
Direct Known Subclasses
Agent::Organization, Agent::Person, Agent::SoftwareApplication, Annotation::Annotation, Assignable::Attempt, DigitalResource, LIS::CourseOffering, LIS::Group, LIS::Membership, LearningObjective, Outcome::Result, Response::Response, Session::Session
Instance Attribute Summary collapse
-
#dateCreated ⇒ Object
Returns the value of attribute dateCreated.
-
#dateModified ⇒ Object
Returns the value of attribute dateModified.
-
#description ⇒ Object
Returns the value of attribute description.
-
#extensions ⇒ Object
Returns the value of attribute extensions.
-
#name ⇒ Object
Returns the value of attribute name.
Attributes inherited from Entity
Instance Method Summary collapse
-
#initialize ⇒ EntityBase
constructor
A new instance of EntityBase.
Methods included from Jsonable
#eql?, #from_json, included, #to_json
Constructor Details
#initialize ⇒ EntityBase
Returns a new instance of EntityBase.
36 37 38 39 40 41 42 43 |
# File 'lib/caliper/entities/entity_base.rb', line 36 def initialize() super @name = nil @description = nil @extensions = {} @dateCreated = nil @dateModified = nil end |
Instance Attribute Details
#dateCreated ⇒ Object
Returns the value of attribute dateCreated.
34 35 36 |
# File 'lib/caliper/entities/entity_base.rb', line 34 def dateCreated @dateCreated end |
#dateModified ⇒ Object
Returns the value of attribute dateModified.
34 35 36 |
# File 'lib/caliper/entities/entity_base.rb', line 34 def dateModified @dateModified end |
#description ⇒ Object
Returns the value of attribute description.
34 35 36 |
# File 'lib/caliper/entities/entity_base.rb', line 34 def description @description end |
#extensions ⇒ Object
Returns the value of attribute extensions.
34 35 36 |
# File 'lib/caliper/entities/entity_base.rb', line 34 def extensions @extensions end |
#name ⇒ Object
Returns the value of attribute name.
34 35 36 |
# File 'lib/caliper/entities/entity_base.rb', line 34 def name @name end |