Class: ApiTester::BoundaryCase
- Inherits:
-
Object
- Object
- ApiTester::BoundaryCase
- Defined in:
- lib/api-tester/definition/boundary_case.rb
Overview
Holds data necessary for tests
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#headers ⇒ Object
Returns the value of attribute headers.
-
#payload ⇒ Object
Returns the value of attribute payload.
Instance Method Summary collapse
-
#initialize(description:, payload:, headers:) ⇒ BoundaryCase
constructor
A new instance of BoundaryCase.
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
#description ⇒ Object
Returns the value of attribute description.
8 9 10 |
# File 'lib/api-tester/definition/boundary_case.rb', line 8 def description @description end |
#headers ⇒ Object
Returns the value of attribute headers.
7 8 9 |
# File 'lib/api-tester/definition/boundary_case.rb', line 7 def headers @headers end |
#payload ⇒ Object
Returns the value of attribute payload.
6 7 8 |
# File 'lib/api-tester/definition/boundary_case.rb', line 6 def payload @payload end |