module SchemaConformist::Driver
Public Instance Methods
committee_options()
click to toggle source
# File lib/schema_conformist/driver.rb, line 5 def committee_options { schema: committee_schema }.merge(schema_conformist_committee_options) end
request_object()
click to toggle source
# File lib/schema_conformist/driver.rb, line 9 def request_object request end
response_data()
click to toggle source
# File lib/schema_conformist/driver.rb, line 13 def response_data [response.status, response.headers, response.body] end
Private Instance Methods
committee_schema()
click to toggle source
# File lib/schema_conformist/driver.rb, line 19 def committee_schema @committee_schema ||= Committee::Drivers.load_from_file(schema_path) end
schema_conformist_committee_options()
click to toggle source
# File lib/schema_conformist/driver.rb, line 27 def schema_conformist_committee_options Rails.application.config.schema_conformist.committee end
schema_path()
click to toggle source
# File lib/schema_conformist/driver.rb, line 23 def schema_path Rails.application.config.schema_conformist.schema_path end