Class: Elastic::Beanstalk::SmokeTester::ResponseStub
- Inherits:
-
Object
- Object
- Elastic::Beanstalk::SmokeTester::ResponseStub
- Defined in:
- lib/elastic/beanstalk/smoke_tester.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(args) ⇒ ResponseStub
constructor
A new instance of ResponseStub.
Constructor Details
#initialize(args) ⇒ ResponseStub
Returns a new instance of ResponseStub.
91 92 93 94 |
# File 'lib/elastic/beanstalk/smoke_tester.rb', line 91 def initialize(args) @code = args[:code] @body = args[:body] end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
89 90 91 |
# File 'lib/elastic/beanstalk/smoke_tester.rb', line 89 def body @body end |
#code ⇒ Object (readonly)
Returns the value of attribute code.
89 90 91 |
# File 'lib/elastic/beanstalk/smoke_tester.rb', line 89 def code @code end |