Class: ApiTester::BoundaryCase

Inherits:
Object
  • Object
show all
Defined in:
lib/api-tester/definition/boundary_case.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(description, payload, headers) ⇒ BoundaryCase

Returns a new instance of BoundaryCase.



7
8
9
10
11
# File 'lib/api-tester/definition/boundary_case.rb', line 7

def initialize description, payload, headers
  self.description = description
  self.payload = payload
  self.headers = headers
end

Instance Attribute Details

#descriptionObject

Returns the value of attribute description.



5
6
7
# File 'lib/api-tester/definition/boundary_case.rb', line 5

def description
  @description
end

#headersObject

Returns the value of attribute headers.



4
5
6
# File 'lib/api-tester/definition/boundary_case.rb', line 4

def headers
  @headers
end

#payloadObject

Returns the value of attribute payload.



3
4
5
# File 'lib/api-tester/definition/boundary_case.rb', line 3

def payload
  @payload
end