Method: Fdoc::EndpointPresenter#initialize

Defined in:
lib/fdoc/presenters/endpoint_presenter.rb

#initialize(endpoint, options = {}) ⇒ EndpointPresenter

Returns a new instance of EndpointPresenter.



5
6
7
8
9
# File 'lib/fdoc/presenters/endpoint_presenter.rb', line 5

def initialize(endpoint, options = {})
  super(options)
  @endpoint = endpoint
  @endpoint_presenter = self
end