module TLAW::DSL

This module is core of a TLAW API definition. It works like this:

“`ruby class MyAPI < TLAW::API

define do # here starts what DSL does
  namespace :ns do

    endpoint :es do
      param :param1, Integer, default: 1
    end
  end
end

end “`

Methods of current namespace documentation describe everything you can use inside `define` blocks. Actual structure of things is a bit more complicated (relate to lib/tlaw/dsl.rb if you wish), but current documentation structure considered to be most informative.