Class: FaaStRuby::RPC::TestHelper
- Inherits:
-
Object
- Object
- FaaStRuby::RPC::TestHelper
- Defined in:
- lib/faastruby-rpc/test_helper.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#code ⇒ Object
Returns the value of attribute code.
-
#headers ⇒ Object
Returns the value of attribute headers.
-
#klass ⇒ Object
Returns the value of attribute klass.
Instance Method Summary collapse
-
#initialize ⇒ TestHelper
constructor
A new instance of TestHelper.
Constructor Details
#initialize ⇒ TestHelper
Returns a new instance of TestHelper.
6 7 8 9 10 11 |
# File 'lib/faastruby-rpc/test_helper.rb', line 6 def initialize @body = nil @code = 200 @headers = {} @klass = nil end |
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
5 6 7 |
# File 'lib/faastruby-rpc/test_helper.rb', line 5 def body @body end |
#code ⇒ Object
Returns the value of attribute code.
5 6 7 |
# File 'lib/faastruby-rpc/test_helper.rb', line 5 def code @code end |
#headers ⇒ Object
Returns the value of attribute headers.
5 6 7 |
# File 'lib/faastruby-rpc/test_helper.rb', line 5 def headers @headers end |
#klass ⇒ Object
Returns the value of attribute klass.
5 6 7 |
# File 'lib/faastruby-rpc/test_helper.rb', line 5 def klass @klass end |