Module: SchemaConformist::Driver

Includes:
Committee::Test::Methods
Included in:
ProcessWithAssertion
Defined in:
lib/schema_conformist/driver.rb

Instance Method Summary collapse

Instance Method Details

#committee_options ⇒ Object



5
6
7
# File 'lib/schema_conformist/driver.rb', line 5

def committee_options
  { schema: committee_schema }.merge(schema_conformist_committee_options)
end

#request_object ⇒ Object



9
10
11
# File 'lib/schema_conformist/driver.rb', line 9

def request_object
  request
end

#response_data ⇒ Object



13
14
15
# File 'lib/schema_conformist/driver.rb', line 13

def response_data
  [response.status, response.headers, response.body]
end