Class: Caliper::Entities::Response::TrueFalseResponse
- Inherits:
-
Response
- Object
- Entity
- EntityBase
- Response
- Caliper::Entities::Response::TrueFalseResponse
- Defined in:
- lib/caliper/entities/response/true_false_response.rb
Instance Attribute Summary collapse
-
#values ⇒ Object
Returns the value of attribute values.
Attributes inherited from Response
#actor, #assignable, #attempt, #duration, #endedAtTime, #startedAtTime
Attributes inherited from EntityBase
#dateCreated, #dateModified, #description, #extensions, #name
Attributes inherited from Entity
Instance Method Summary collapse
-
#initialize ⇒ TrueFalseResponse
constructor
A new instance of TrueFalseResponse.
Methods included from Jsonable
#eql?, #from_json, included, #to_json
Constructor Details
#initialize ⇒ TrueFalseResponse
Returns a new instance of TrueFalseResponse.
31 32 33 34 |
# File 'lib/caliper/entities/response/true_false_response.rb', line 31 def initialize super @type = Caliper::Entities::Response::ResponseType::TRUEFALSE end |
Instance Attribute Details
#values ⇒ Object
Returns the value of attribute values.
29 30 31 |
# File 'lib/caliper/entities/response/true_false_response.rb', line 29 def values @values end |