Class: ApiTester::BoundaryCase

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

Overview

Holds data necessary for tests

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(description:, payload:, headers:) ⇒ BoundaryCase

Returns a new instance of BoundaryCase.



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

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.



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

def description
  @description
end

#headersObject

Returns the value of attribute headers.



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

def headers
  @headers
end

#payloadObject

Returns the value of attribute payload.



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

def payload
  @payload
end