Seely.DefaultRouter (Seely v0.1.0) View Source

The default router just defines the echo route for the Seely.EchoController

def routes,
  do: [{"echo", Seely.EchoController, :echo}]

and it's options --upper and --trim

def parse_opts,
  do: [
    strict: [upper: :boolean, trim: :boolean]
  ]

Link to this section Summary

Functions

Returns the definiton of options for the OptionsParser used in Seely.Parser

Returns a list of Tuples of { "command", Controller, :function }

Link to this section Functions

Returns the definiton of options for the OptionsParser used in Seely.Parser

Returns a list of Tuples of { "command", Controller, :function }