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.
19 20 21 22 23 24 |
# File 'lib/faastruby-rpc/test_helper.rb', line 19 def initialize @body = nil @code = 200 @headers = {} @klass = nil end |
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
18 19 20 |
# File 'lib/faastruby-rpc/test_helper.rb', line 18 def body @body end |
#code ⇒ Object
Returns the value of attribute code.
18 19 20 |
# File 'lib/faastruby-rpc/test_helper.rb', line 18 def code @code end |
#headers ⇒ Object
Returns the value of attribute headers.
18 19 20 |
# File 'lib/faastruby-rpc/test_helper.rb', line 18 def headers @headers end |
#klass ⇒ Object
Returns the value of attribute klass.
18 19 20 |
# File 'lib/faastruby-rpc/test_helper.rb', line 18 def klass @klass end |