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.



47
48
49
50
# File 'lib/elastic/beanstalk/smoke_tester.rb', line 47

def initialize(args)
  @code = args[:code]
  @body = args[:body]
end

Instance Attribute Details

#bodyObject (readonly)

Returns the value of attribute body.



45
46
47
# File 'lib/elastic/beanstalk/smoke_tester.rb', line 45

def body
  @body
end

#codeObject (readonly)

Returns the value of attribute code.



45
46
47
# File 'lib/elastic/beanstalk/smoke_tester.rb', line 45

def code
  @code
end