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.



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

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.



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

def description
  @description
end

#headersObject

Returns the value of attribute headers.



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

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