Class: Webspicy::Tester::Invocation
- Inherits:
-
Object
- Object
- Webspicy::Tester::Invocation
- Extended by:
- Forwardable
- Defined in:
- lib/webspicy/tester/invocation.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
-
#response ⇒ Object
readonly
Returns the value of attribute response.
-
#test_case ⇒ Object
readonly
Returns the value of attribute test_case.
Instance Method Summary collapse
-
#initialize(test_case, response, client) ⇒ Invocation
constructor
A new instance of Invocation.
- #loaded_output ⇒ Object
- #output ⇒ Object
- #raw_output ⇒ Object
Constructor Details
#initialize(test_case, response, client) ⇒ Invocation
Returns a new instance of Invocation.
6 7 8 9 10 |
# File 'lib/webspicy/tester/invocation.rb', line 6 def initialize(test_case, response, client) @test_case = test_case @response = response @client = client end |
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
11 12 13 |
# File 'lib/webspicy/tester/invocation.rb', line 11 def client @client end |
#response ⇒ Object (readonly)
Returns the value of attribute response.
11 12 13 |
# File 'lib/webspicy/tester/invocation.rb', line 11 def response @response end |
#test_case ⇒ Object (readonly)
Returns the value of attribute test_case.
11 12 13 |
# File 'lib/webspicy/tester/invocation.rb', line 11 def test_case @test_case end |
Instance Method Details
#loaded_output ⇒ Object
27 28 29 |
# File 'lib/webspicy/tester/invocation.rb', line 27 def loaded_output raise NotImplementedError end |
#output ⇒ Object
31 32 33 |
# File 'lib/webspicy/tester/invocation.rb', line 31 def output raise NotImplementedError end |
#raw_output ⇒ Object
23 24 25 |
# File 'lib/webspicy/tester/invocation.rb', line 23 def raw_output raise NotImplementedError end |