Module: Interpol::Documentation

Extended by:
Documentation
Included in:
Documentation
Defined in:
lib/interpol/documentation.rb

Overview

Renders HTML documentation for an interpol endpoint.

Defined Under Namespace

Classes: ForSchemaDefinition

Instance Method Summary collapse

Instance Method Details

#html_for_schema(schema) ⇒ Object



8
9
10
# File 'lib/interpol/documentation.rb', line 8

def html_for_schema(schema)
  ForSchemaDefinition.new(schema).to_html
end