Class: BigBand::Integration::YARD::Handlers::Sinatra::Legacy::RouteHandler

Inherits:
YARD::Handlers::Ruby::Legacy::Base
  • Object
show all
Includes:
AbstractRouteHandler
Defined in:
lib/big_band/integration/yard.rb

Instance Method Summary collapse

Methods included from AbstractRouteHandler

#process, #register_route, routes

Instance Method Details

#http_pathObject



92
93
94
# File 'lib/big_band/integration/yard.rb', line 92

def http_path
  statement.tokens[2].text
end

#http_verbObject



89
90
91
# File 'lib/big_band/integration/yard.rb', line 89

def http_verb
  statement.tokens.first.text.upcase
end