Class: Caliper::Entities::Assignable::Attempt
- Inherits:
-
EntityBase
- Object
- Entity
- EntityBase
- Caliper::Entities::Assignable::Attempt
- Includes:
- Generatable
- Defined in:
- lib/caliper/entities/assignable/attempt.rb
Instance Attribute Summary collapse
-
#actor ⇒ Object
Returns the value of attribute actor.
-
#assignable ⇒ Object
Returns the value of attribute assignable.
-
#count ⇒ Object
Returns the value of attribute count.
-
#duration ⇒ Object
Returns the value of attribute duration.
-
#endedAtTime ⇒ Object
Returns the value of attribute endedAtTime.
-
#startedAtTime ⇒ Object
Returns the value of attribute startedAtTime.
Attributes inherited from EntityBase
#dateCreated, #dateModified, #description, #extensions, #name
Attributes inherited from Entity
Instance Method Summary collapse
-
#initialize ⇒ Attempt
constructor
A new instance of Attempt.
Methods included from Jsonable
#eql?, #from_json, included, #to_json
Constructor Details
#initialize ⇒ Attempt
Returns a new instance of Attempt.
33 34 35 36 37 38 39 |
# File 'lib/caliper/entities/assignable/attempt.rb', line 33 def initialize super @type = Caliper::Entities::EntityType::ATTEMPT @startedAtTime = nil @endedAtTime = nil @duration = nil end |
Instance Attribute Details
#actor ⇒ Object
Returns the value of attribute actor.
31 32 33 |
# File 'lib/caliper/entities/assignable/attempt.rb', line 31 def actor @actor end |
#assignable ⇒ Object
Returns the value of attribute assignable.
31 32 33 |
# File 'lib/caliper/entities/assignable/attempt.rb', line 31 def assignable @assignable end |
#count ⇒ Object
Returns the value of attribute count.
31 32 33 |
# File 'lib/caliper/entities/assignable/attempt.rb', line 31 def count @count end |
#duration ⇒ Object
Returns the value of attribute duration.
31 32 33 |
# File 'lib/caliper/entities/assignable/attempt.rb', line 31 def duration @duration end |
#endedAtTime ⇒ Object
Returns the value of attribute endedAtTime.
31 32 33 |
# File 'lib/caliper/entities/assignable/attempt.rb', line 31 def endedAtTime @endedAtTime end |
#startedAtTime ⇒ Object
Returns the value of attribute startedAtTime.
31 32 33 |
# File 'lib/caliper/entities/assignable/attempt.rb', line 31 def startedAtTime @startedAtTime end |