Class: BigBand::Integration::YARD::Handlers::Sinatra::Legacy::RouteHandler
- Inherits:
-
YARD::Handlers::Ruby::Legacy::Base
- Object
- YARD::Handlers::Ruby::Legacy::Base
- BigBand::Integration::YARD::Handlers::Sinatra::Legacy::RouteHandler
show all
- Includes:
- AbstractRouteHandler
- Defined in:
- lib/big_band/integration/yard.rb
Instance Method Summary
collapse
#process, #register_route, routes
Instance Method Details
#http_path ⇒ Object
92
93
94
|
# File 'lib/big_band/integration/yard.rb', line 92
def http_path
statement.tokens[2].text
end
|
#http_verb ⇒ Object
89
90
91
|
# File 'lib/big_band/integration/yard.rb', line 89
def http_verb
statement.tokens.first.text.upcase
end
|