Class: RubyPitaya::HttpRoutes

Inherits:
Sinatra::Base show all
Defined in:
lib/rubypitaya/core/http_routes.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rubypitaya-3.12.1/lib/rubypitaya/core/http_routes.rb

Constant Summary

Constants inherited from Sinatra::Base

Sinatra::Base::CALLERS_TO_IGNORE, Sinatra::Base::URI_INSTANCE

Constants included from Sinatra::Helpers

Sinatra::Helpers::ETAG_KINDS, Sinatra::Helpers::MULTIPART_FORM_DATA_REPLACEMENT_TABLE

Constants included from Rack::Utils

Rack::Utils::COMMON_SEP, Rack::Utils::DEFAULT_SEP, Rack::Utils::ESCAPE_HTML, Rack::Utils::ESCAPE_HTML_PATTERN, Rack::Utils::HTTP_STATUS_CODES, Rack::Utils::InvalidParameterError, Rack::Utils::KeySpaceConstrainedParams, Rack::Utils::NULL_BYTE, Rack::Utils::PATH_SEPS, Rack::Utils::ParameterTypeError, Rack::Utils::RFC2822_DAY_NAME, Rack::Utils::RFC2822_MONTH_NAME, Rack::Utils::STATUS_WITH_NO_ENTITY_BODY, Rack::Utils::SYMBOL_TO_STATUS_CODE

Instance Attribute Summary

Attributes inherited from Sinatra::Base

#app, #env, #params, #request, #response, #template_cache

Class Method Summary collapse

Methods inherited from Sinatra::Base

add_filter, after, before, build, #call, call, #call!, caller_files, callers_to_ignore, condition, configure, delete, development?, disable, enable, error, extensions, #forward, get, #halt, head, helpers, #initialize, inline_templates=, layout, link, middleware, mime_type, mime_types, new, #new!, not_found, options, #pass, patch, post, production?, prototype, public=, public_dir, public_dir=, put, quit!, register, reset!, run!, running?, set, settings, #settings, template, test?, unlink, use

Methods included from Sinatra::Templates

#asciidoc, #builder, #erb, #find_template, #haml, #initialize, #liquid, #markaby, #markdown, #nokogiri, #rabl, #rdoc, #slim, #yajl

Methods included from Sinatra::Helpers

#attachment, #back, #bad_request?, #body, #cache_control, #client_error?, #content_type, #error, #etag, #expires, #headers, #informational?, #last_modified, #logger, #mime_type, #not_found, #not_found?, #redirect, #redirect?, #send_file, #server_error?, #session, #status, #stream, #success?, #time_for, #uri

Methods included from Rack::Utils

add_cookie_to_header, add_remove_cookie_to_header, best_q_match, build_nested_query, build_query, byte_ranges, clean_path_info, #clock_time, delete_cookie_header!, escape, escape_html, escape_path, get_byte_ranges, key_space_limit, key_space_limit=, make_delete_cookie_header, param_depth_limit, param_depth_limit=, parse_cookies, parse_cookies_header, parse_nested_query, parse_query, q_values, rfc2109, rfc2822, secure_compare, select_best_encoding, set_cookie_header!, status_code, unescape, unescape_path, valid_path?

Constructor Details

This class inherits a constructor from Sinatra::Base

Class Method Details

.auto_reloadObject



8
9
10
11
# File 'lib/rubypitaya/core/http_routes.rb', line 8

def self.auto_reload
  require 'sinatra/reloader'
  register ::Sinatra::Reloader
end