Method: Sinatra::TwitterServer#twitter_help
- Defined in:
- lib/twitter_server.rb
#twitter_help ⇒ Object
136 137 138 139 140 |
# File 'lib/twitter_server.rb', line 136 def twitter_help get "/help/test.:format" do params[:format] == 'xml' ? HELP_XML_RESPONSE : HELP_RESPONSE end end |