Class: Elastic::Beanstalk::SmokeTester::ResponseStub

Inherits:
Object
  • Object
show all
Defined in:
lib/elastic/beanstalk/smoke_tester.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#bodyObject (readonly)

Returns the value of attribute body.



89
90
91
# File 'lib/elastic/beanstalk/smoke_tester.rb', line 89

def body
  @body
end

#codeObject (readonly)

Returns the value of attribute code.



89
90
91
# File 'lib/elastic/beanstalk/smoke_tester.rb', line 89

def code
  @code
end