Class: Caliper::Entities::Entity
- Inherits:
-
Object
- Object
- Caliper::Entities::Entity
- Includes:
- Jsonable, SchemaDotOrg::Thing
- Defined in:
- lib/caliper/entities/entity.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#context ⇒ Object
Returns the value of attribute context.
-
#id ⇒ Object
Returns the value of attribute id.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize ⇒ Entity
constructor
A new instance of Entity.
Methods included from Jsonable
#eql?, #from_json, included, #to_json
Constructor Details
Instance Attribute Details
#context ⇒ Object
Returns the value of attribute context.
33 34 35 |
# File 'lib/caliper/entities/entity.rb', line 33 def context @context end |
#id ⇒ Object
Returns the value of attribute id.
33 34 35 |
# File 'lib/caliper/entities/entity.rb', line 33 def id @id end |
#type ⇒ Object
Returns the value of attribute type.
33 34 35 |
# File 'lib/caliper/entities/entity.rb', line 33 def type @type end |