SYMBOL INDEX (1371 symbols across 221 files) FILE: benchmark/compile_many_routes.rb class API (line 7) | class API < Grape::API FILE: benchmark/issue_mounting.rb class GrapeAPIBugTest (line 17) | class GrapeAPIBugTest < Minitest::Test method test_v1_users_via_api (line 29) | def test_v1_users_via_api FILE: benchmark/large_model.rb class API (line 9) | class API < Grape::API method vrp_request_timewindow (line 22) | def self.vrp_request_timewindow(this) method vrp_request_indice_range (line 30) | def self.vrp_request_indice_range(this) method vrp_request_point (line 35) | def self.vrp_request_point(this) method vrp_request_unit (line 43) | def self.vrp_request_unit(this) method vrp_request_activity (line 49) | def self.vrp_request_activity(this) method vrp_request_quantity (line 61) | def self.vrp_request_quantity(this) method vrp_request_capacity (line 67) | def self.vrp_request_capacity(this) method vrp_request_vehicle (line 75) | def self.vrp_request_vehicle(this) method vrp_request_service (line 100) | def self.vrp_request_service(this) method vrp_request_configuration (line 125) | def self.vrp_request_configuration(this) method vrp_request_partition (line 140) | def self.vrp_request_partition(this) method vrp_request_preprocessing (line 147) | def self.vrp_request_preprocessing(this) method vrp_request_resolution (line 162) | def self.vrp_request_resolution(this) method vrp_request_restitution (line 186) | def self.vrp_request_restitution(this) method vrp_request_schedule (line 194) | def self.vrp_request_schedule(this) FILE: benchmark/nested_params.rb class API (line 7) | class API < Grape::API FILE: benchmark/remounting.rb class VotingApi (line 7) | class VotingApi < Grape::API method logger (line 11) | def logger class PostApi (line 23) | class PostApi < Grape::API class CommentAPI (line 27) | class CommentAPI < Grape::API FILE: benchmark/simple.rb class API (line 7) | class API < Grape::API FILE: lib/grape.rb type Grape (line 50) | module Grape function deprecator (line 66) | def self.deprecator FILE: lib/grape/api.rb type Grape (line 3) | module Grape class API (line 6) | class API class Boolean (line 12) | class Boolean method build (line 13) | def self.build(val) method initial_setup (line 36) | def initial_setup(base_instance_parent) method override_all_methods! (line 44) | def override_all_methods! method configure (line 57) | def configure method mount_instance (line 71) | def mount_instance(configuration: nil) method inherited (line 83) | def inherited(api) method replay_setup_on (line 92) | def replay_setup_on(instance) method add_setup (line 99) | def add_setup(**step) method refresh_mount_step (line 111) | def refresh_mount_step method replay_step_on (line 123) | def replay_step_on(instance, method:, args:, kwargs:, block:) method skip_immediate_run? (line 137) | def skip_immediate_run?(instance, args, kwargs) method any_lazy? (line 142) | def any_lazy?(args) method evaluate_arguments (line 146) | def evaluate_arguments(configuration, *args) method argument_lazy? (line 160) | def argument_lazy?(argument) FILE: lib/grape/api/instance.rb type Grape (line 3) | module Grape class API (line 4) | class API class Instance (line 7) | class Instance method base= (line 28) | def base=(grape_api) method base_instance? (line 33) | def base_instance? method reset! (line 42) | def reset! method call (line 52) | def call(env) method compile! (line 57) | def compile! method recognize_path (line 64) | def recognize_path(path) method change! (line 70) | def change! method inherit_settings (line 76) | def inherit_settings(other_settings) method inherited (line 91) | def inherited(subclass) method initialize (line 102) | def initialize method call (line 114) | def call(env) method cascade? (line 132) | def cascade? method add_head_not_allowed_methods_and_options_methods (line 148) | def add_head_not_allowed_methods_and_options_methods method collect_route_config_per_pattern (line 158) | def collect_route_config_per_pattern(all_routes) method without_root_prefix_and_versioning (line 183) | def without_root_prefix_and_versioning FILE: lib/grape/content_types.rb type Grape (line 3) | module Grape type ContentTypes (line 4) | module ContentTypes function content_types_for (line 18) | def content_types_for(from_settings) function mime_types_for (line 22) | def mime_types_for(from_settings) FILE: lib/grape/cookies.rb type Grape (line 3) | module Grape class Cookies (line 4) | class Cookies method initialize (line 15) | def initialize(rack_cookies) method response_cookies (line 20) | def response_cookies method []= (line 28) | def []=(name, value) method delete (line 34) | def delete(name, **opts) method cookies (line 40) | def cookies method send_cookies (line 46) | def send_cookies FILE: lib/grape/declared_params_handler.rb type Grape (line 3) | module Grape class DeclaredParamsHandler (line 4) | class DeclaredParamsHandler method initialize (line 5) | def initialize(include_missing: true, evaluate_given: false, stringi... method call (line 12) | def call(passed_params, declared_params, route_params, renamed_params) method recursive_declared (line 23) | def recursive_declared(passed_params, declared_params:, route_params... method declared_hash (line 37) | def declared_hash(passed_params, declared_params:, params_nested_pat... method declared_hash_attr (line 52) | def declared_hash_attr(passed_params, declared_param:, params_nested... method build_memo_key (line 90) | def build_memo_key(params_nested_path, declared_param, renamed_params) method handle_passed_param (line 98) | def handle_passed_param(params_nested_path, route_params:, has_passe... FILE: lib/grape/dry_types.rb type Grape (line 3) | module Grape type DryTypes (line 4) | module DryTypes class StrictCache (line 9) | class StrictCache < Grape::Util::Cache method initialize (line 18) | def initialize class ParamsCache (line 28) | class ParamsCache < Grape::Util::Cache method initialize (line 38) | def initialize function wrapped_dry_types_const_get (line 48) | def self.wrapped_dry_types_const_get(dry_type, type) FILE: lib/grape/dsl/callbacks.rb type Grape (line 3) | module Grape type DSL (line 4) | module DSL type Callbacks (line 5) | module Callbacks FILE: lib/grape/dsl/declared.rb type Grape (line 3) | module Grape type DSL (line 4) | module DSL type Declared (line 5) | module Declared class MethodNotYetAvailable (line 8) | class MethodNotYetAvailable < StandardError method initialize (line 9) | def initialize(msg = '#declared is not available prior to parame... function declared (line 22) | def declared(passed_params, include_parent_namespaces: true, inclu... FILE: lib/grape/dsl/desc.rb type Grape (line 3) | module Grape type DSL (line 4) | module DSL type Desc (line 5) | module Desc function desc (line 52) | def desc(description, options = {}, &config_block) FILE: lib/grape/dsl/headers.rb type Grape (line 3) | module Grape type DSL (line 4) | module DSL type Headers (line 5) | module Headers function header (line 11) | def header(key = nil, val = nil) FILE: lib/grape/dsl/helpers.rb type Grape (line 3) | module Grape type DSL (line 4) | module DSL type Helpers (line 5) | module Helpers function helpers (line 31) | def helpers(*new_modules, &block) function include_new_modules (line 39) | def include_new_modules(modules) function include_block (line 45) | def include_block(block) function make_inclusion (line 53) | def make_inclusion(mod, &) function include_all_in_scope (line 59) | def include_all_in_scope function define_boolean_in_mod (line 66) | def define_boolean_in_mod(mod) function inject_api_helpers_to_mod (line 72) | def inject_api_helpers_to_mod(mod, &block) type BaseHelper (line 80) | module BaseHelper function params (line 83) | def params(name, &block) function api_changed (line 88) | def api_changed(new_api) function process_named_params (line 95) | def process_named_params FILE: lib/grape/dsl/inside_route.rb type Grape (line 3) | module Grape type DSL (line 4) | module DSL type InsideRoute (line 5) | module InsideRoute function version (line 12) | def version function configuration (line 16) | def configuration function error! (line 28) | def error!(message, status = nil, additional_headers = nil, backtr... function redirect (line 44) | def redirect(url, permanent: false, body: nil) function status (line 64) | def status(status = nil) function content_type (line 92) | def content_type(val = nil) function body (line 110) | def body(value = nil) function return_no_content (line 130) | def return_no_content function sendfile (line 143) | def sendfile(value = nil) function stream (line 169) | def stream(value = nil) function present (line 202) | def present(*args, **options) function route (line 239) | def route function entity_class_for_obj (line 251) | def entity_class_for_obj(object, options) function entity_representation_for (line 274) | def entity_representation_for(entity_class, object, options) function http_version (line 280) | def http_version function api_format (line 284) | def api_format(format) function context (line 288) | def context FILE: lib/grape/dsl/logger.rb type Grape (line 3) | module Grape type DSL (line 4) | module DSL type Logger (line 5) | module Logger function logger (line 9) | def logger(logger = nil) FILE: lib/grape/dsl/middleware.rb type Grape (line 3) | module Grape type DSL (line 4) | module DSL type Middleware (line 5) | module Middleware function use (line 12) | def use(middleware_class, *args, &block) function middleware (line 31) | def middleware FILE: lib/grape/dsl/parameters.rb type Grape (line 3) | module Grape type DSL (line 4) | module DSL type Parameters (line 8) | module Parameters function build_with (line 31) | def build_with(build_with) function use (line 56) | def use(*names, **options) function requires (line 125) | def requires(*attrs, **opts, &block) function optional (line 141) | def optional(*attrs, **opts, &block) function with (line 163) | def with(**opts, &) function given (line 181) | def given(*attrs, &) function declared_param? (line 192) | def declared_param?(param) class EmptyOptionalValue (line 207) | class EmptyOptionalValue; end function map_params (line 209) | def map_params(params, element, is_array = false) function params (line 226) | def params(params) function first_hash_key_or_param (line 234) | def first_hash_key_or_param(parameter) FILE: lib/grape/dsl/request_response.rb type Grape (line 3) | module Grape type DSL (line 4) | module DSL type RequestResponse (line 5) | module RequestResponse function default_format (line 8) | def default_format(new_format = nil) function format (line 16) | def format(new_format = nil) function formatter (line 30) | def formatter(content_type, new_formatter) function parser (line 35) | def parser(content_type, new_parser) function default_error_formatter (line 40) | def default_error_formatter(new_formatter_name = nil) function error_formatter (line 47) | def error_formatter(format, options) function content_type (line 59) | def content_type(key, val) function content_types (line 64) | def content_types function default_error_status (line 70) | def default_error_status(new_status = nil) function rescue_from (line 96) | def rescue_from(*args, **options, &block) function represent (line 149) | def represent(model_class, options) function extract_with (line 157) | def extract_with(options) FILE: lib/grape/dsl/routing.rb type Grape (line 3) | module Grape type DSL (line 4) | module DSL type Routing (line 5) | module Routing function given (line 8) | def given(conditional_option, &) function mounted (line 14) | def mounted(&block) function cascade (line 18) | def cascade(value = nil) function version (line 41) | def version(*args, **options, &block) function prefix (line 67) | def prefix(prefix = nil) function scope (line 77) | def scope(_name = nil, &block) function build_with (line 83) | def build_with(build_with) function do_not_route_head! (line 88) | def do_not_route_head! function do_not_route_options! (line 93) | def do_not_route_options! function lint! (line 97) | def lint! function do_not_document! (line 101) | def do_not_document! function mount (line 105) | def mount(mounts, *opts) function route (line 160) | def route(methods, paths = ['/'], route_options = {}, &) function namespace (line 201) | def namespace(space = nil, requirements: nil, **options, &block) function routes (line 217) | def routes function route_param (line 226) | def route_param(param, requirements: nil, type: nil, **, &) function versions (line 237) | def versions function reset_routes! (line 244) | def reset_routes! function reset_endpoints! (line 249) | def reset_endpoints! function refresh_mounted_api (line 253) | def refresh_mounted_api(mounts, *opts) function nest (line 261) | def nest(*blocks, &block) function evaluate_as_instance_with_configuration (line 272) | def evaluate_as_instance_with_configuration(block, lazy: false) FILE: lib/grape/dsl/settings.rb type Grape (line 3) | module Grape type DSL (line 4) | module DSL type Settings (line 9) | module Settings function top_level_setting (line 13) | def top_level_setting function inheritable_setting (line 25) | def inheritable_setting function global_setting (line 29) | def global_setting(key, value = nil) function route_setting (line 33) | def route_setting(key, value = nil) function namespace_setting (line 37) | def namespace_setting(key, value = nil) function within_namespace (line 45) | def within_namespace function get_or_set (line 60) | def get_or_set(setting, key, value) FILE: lib/grape/dsl/validations.rb type Grape (line 3) | module Grape type DSL (line 4) | module DSL type Validations (line 5) | module Validations function params (line 9) | def params(&) function contract (line 19) | def contract(contract = nil, &block) function reset_validations! (line 46) | def reset_validations! FILE: lib/grape/endpoint.rb type Grape (line 3) | module Grape class Endpoint (line 8) | class Endpoint method before_each (line 20) | def before_each(new_setup = false, &block) method run_before_each (line 33) | def run_before_each(endpoint) method block_to_unbound_method (line 38) | def block_to_unbound_method(block) method initialize (line 60) | def initialize(new_settings, **options, &block) method inherit_settings (line 87) | def inherit_settings(namespace_stackable) method routes (line 96) | def routes method reset_routes! (line 100) | def reset_routes! method mount_in (line 106) | def mount_in(router) method namespace (line 125) | def namespace method call (line 129) | def call(env) method call! (line 133) | def call!(env) method endpoints (line 143) | def endpoints method equals? (line 147) | def equals?(endpoint) method inspect (line 154) | def inspect method run (line 162) | def run method execute (line 200) | def execute method run_validators (line 208) | def run_validators(validators, request) method run_filters (line 228) | def run_filters(filters, type = :other) method validations (line 242) | def validations method options? (line 252) | def options? method compile! (line 261) | def compile! method to_routes (line 266) | def to_routes method prepare_default_route_attributes (line 289) | def prepare_default_route_attributes(route_options) method prepare_default_path_settings (line 301) | def prepare_default_path_settings method prepare_routes_requirements (line 307) | def prepare_routes_requirements(route_options_requirements) method prepare_version (line 313) | def prepare_version(namespace_inheritable_version) method build_stack (line 319) | def build_stack method build_helpers (line 363) | def build_helpers method build_response_cookies (line 370) | def build_response_cookies method lint? (line 377) | def lint? method rescue_handlers (line 381) | def rescue_handlers FILE: lib/grape/env.rb type Grape (line 3) | module Grape type Env (line 4) | module Env FILE: lib/grape/error_formatter.rb type Grape (line 3) | module Grape type ErrorFormatter (line 4) | module ErrorFormatter function formatter_for (line 9) | def formatter_for(format, error_formatters = nil, default_error_form... FILE: lib/grape/error_formatter/base.rb type Grape (line 3) | module Grape type ErrorFormatter (line 4) | module ErrorFormatter class Base (line 5) | class Base method call (line 7) | def call(message, backtrace, options = {}, env = nil, original_exc... method present (line 20) | def present(message, env) method wrap_message (line 51) | def wrap_message(message) method format_structured_message (line 57) | def format_structured_message(_structured_message) method inherited (line 63) | def inherited(klass) FILE: lib/grape/error_formatter/json.rb type Grape (line 3) | module Grape type ErrorFormatter (line 4) | module ErrorFormatter class Json (line 5) | class Json < Base method format_structured_message (line 7) | def format_structured_message(structured_message) method wrap_message (line 13) | def wrap_message(message) method ensure_utf8 (line 20) | def ensure_utf8(message) FILE: lib/grape/error_formatter/serializable_hash.rb type Grape (line 3) | module Grape type ErrorFormatter (line 4) | module ErrorFormatter class SerializableHash (line 5) | class SerializableHash < Json; end FILE: lib/grape/error_formatter/txt.rb type Grape (line 3) | module Grape type ErrorFormatter (line 4) | module ErrorFormatter class Txt (line 5) | class Txt < Base method format_structured_message (line 6) | def self.format_structured_message(structured_message) FILE: lib/grape/error_formatter/xml.rb type Grape (line 3) | module Grape type ErrorFormatter (line 4) | module ErrorFormatter class Xml (line 5) | class Xml < Base method format_structured_message (line 6) | def self.format_structured_message(structured_message) FILE: lib/grape/exceptions/base.rb type Grape (line 3) | module Grape type Exceptions (line 4) | module Exceptions class Base (line 5) | class Base < StandardError method initialize (line 12) | def initialize(status: nil, message: nil, headers: nil) method [] (line 19) | def [](index) method compose_message (line 25) | def compose_message(key, **) method translate_message (line 35) | def translate_message(translation_key, **) FILE: lib/grape/exceptions/conflicting_types.rb type Grape (line 3) | module Grape type Exceptions (line 4) | module Exceptions class ConflictingTypes (line 5) | class ConflictingTypes < Base method initialize (line 6) | def initialize FILE: lib/grape/exceptions/empty_message_body.rb type Grape (line 3) | module Grape type Exceptions (line 4) | module Exceptions class EmptyMessageBody (line 5) | class EmptyMessageBody < Base method initialize (line 6) | def initialize(body_format) FILE: lib/grape/exceptions/incompatible_option_values.rb type Grape (line 3) | module Grape type Exceptions (line 4) | module Exceptions class IncompatibleOptionValues (line 5) | class IncompatibleOptionValues < Base method initialize (line 6) | def initialize(option1, value1, option2, value2) FILE: lib/grape/exceptions/invalid_accept_header.rb type Grape (line 3) | module Grape type Exceptions (line 4) | module Exceptions class InvalidAcceptHeader (line 5) | class InvalidAcceptHeader < Base method initialize (line 6) | def initialize(message, headers) FILE: lib/grape/exceptions/invalid_formatter.rb type Grape (line 3) | module Grape type Exceptions (line 4) | module Exceptions class InvalidFormatter (line 5) | class InvalidFormatter < Base method initialize (line 6) | def initialize(klass, to_format) FILE: lib/grape/exceptions/invalid_message_body.rb type Grape (line 3) | module Grape type Exceptions (line 4) | module Exceptions class InvalidMessageBody (line 5) | class InvalidMessageBody < Base method initialize (line 6) | def initialize(body_format) FILE: lib/grape/exceptions/invalid_parameters.rb type Grape (line 3) | module Grape type Exceptions (line 4) | module Exceptions class InvalidParameters (line 5) | class InvalidParameters < Base method initialize (line 6) | def initialize FILE: lib/grape/exceptions/invalid_response.rb type Grape (line 3) | module Grape type Exceptions (line 4) | module Exceptions class InvalidResponse (line 5) | class InvalidResponse < Base method initialize (line 6) | def initialize FILE: lib/grape/exceptions/invalid_version_header.rb type Grape (line 3) | module Grape type Exceptions (line 4) | module Exceptions class InvalidVersionHeader (line 5) | class InvalidVersionHeader < Base method initialize (line 6) | def initialize(message, headers) FILE: lib/grape/exceptions/invalid_versioner_option.rb type Grape (line 3) | module Grape type Exceptions (line 4) | module Exceptions class InvalidVersionerOption (line 5) | class InvalidVersionerOption < Base method initialize (line 6) | def initialize(strategy) FILE: lib/grape/exceptions/invalid_with_option_for_represent.rb type Grape (line 3) | module Grape type Exceptions (line 4) | module Exceptions class InvalidWithOptionForRepresent (line 5) | class InvalidWithOptionForRepresent < Base method initialize (line 6) | def initialize FILE: lib/grape/exceptions/method_not_allowed.rb type Grape (line 3) | module Grape type Exceptions (line 4) | module Exceptions class MethodNotAllowed (line 5) | class MethodNotAllowed < Base method initialize (line 6) | def initialize(headers) FILE: lib/grape/exceptions/missing_group_type.rb type Grape (line 3) | module Grape type Exceptions (line 4) | module Exceptions class MissingGroupType (line 5) | class MissingGroupType < Base method initialize (line 6) | def initialize FILE: lib/grape/exceptions/missing_mime_type.rb type Grape (line 3) | module Grape type Exceptions (line 4) | module Exceptions class MissingMimeType (line 5) | class MissingMimeType < Base method initialize (line 6) | def initialize(new_format) FILE: lib/grape/exceptions/missing_vendor_option.rb type Grape (line 3) | module Grape type Exceptions (line 4) | module Exceptions class MissingVendorOption (line 5) | class MissingVendorOption < Base method initialize (line 6) | def initialize FILE: lib/grape/exceptions/too_deep_parameters.rb type Grape (line 3) | module Grape type Exceptions (line 4) | module Exceptions class TooDeepParameters (line 5) | class TooDeepParameters < Base method initialize (line 6) | def initialize(limit) FILE: lib/grape/exceptions/too_many_multipart_files.rb type Grape (line 3) | module Grape type Exceptions (line 4) | module Exceptions class TooManyMultipartFiles (line 5) | class TooManyMultipartFiles < Base method initialize (line 6) | def initialize(limit) FILE: lib/grape/exceptions/unknown_auth_strategy.rb type Grape (line 3) | module Grape type Exceptions (line 4) | module Exceptions class UnknownAuthStrategy (line 5) | class UnknownAuthStrategy < Base method initialize (line 6) | def initialize(strategy:) FILE: lib/grape/exceptions/unknown_parameter.rb type Grape (line 3) | module Grape type Exceptions (line 4) | module Exceptions class UnknownParameter (line 5) | class UnknownParameter < Base method initialize (line 6) | def initialize(param) FILE: lib/grape/exceptions/unknown_params_builder.rb type Grape (line 3) | module Grape type Exceptions (line 4) | module Exceptions class UnknownParamsBuilder (line 5) | class UnknownParamsBuilder < Base method initialize (line 6) | def initialize(params_builder_type) FILE: lib/grape/exceptions/unknown_validator.rb type Grape (line 3) | module Grape type Exceptions (line 4) | module Exceptions class UnknownValidator (line 5) | class UnknownValidator < Base method initialize (line 6) | def initialize(validator_type) FILE: lib/grape/exceptions/unsupported_group_type.rb type Grape (line 3) | module Grape type Exceptions (line 4) | module Exceptions class UnsupportedGroupType (line 5) | class UnsupportedGroupType < Base method initialize (line 6) | def initialize FILE: lib/grape/exceptions/validation.rb type Grape (line 3) | module Grape type Exceptions (line 4) | module Exceptions class Validation (line 5) | class Validation < Base method initialize (line 8) | def initialize(params:, message: nil, status: nil, headers: nil) method as_json (line 23) | def as_json(*_args) FILE: lib/grape/exceptions/validation_array_errors.rb type Grape (line 3) | module Grape type Exceptions (line 4) | module Exceptions class ValidationArrayErrors (line 5) | class ValidationArrayErrors < Base method initialize (line 8) | def initialize(errors) FILE: lib/grape/exceptions/validation_errors.rb type Grape (line 3) | module Grape type Exceptions (line 4) | module Exceptions class ValidationErrors (line 5) | class ValidationErrors < Base method initialize (line 10) | def initialize(errors: [], headers: {}) method each (line 15) | def each method as_json (line 23) | def as_json(**_opts) method to_json (line 32) | def to_json(*_opts) method full_messages (line 36) | def full_messages method translate_attributes (line 52) | def translate_attributes(keys) FILE: lib/grape/formatter.rb type Grape (line 3) | module Grape type Formatter (line 4) | module Formatter function formatter_for (line 11) | def formatter_for(api_format, formatters) FILE: lib/grape/formatter/base.rb type Grape (line 3) | module Grape type Formatter (line 4) | module Formatter class Base (line 5) | class Base method call (line 6) | def self.call(_object, _env) method inherited (line 10) | def self.inherited(klass) FILE: lib/grape/formatter/json.rb type Grape (line 3) | module Grape type Formatter (line 4) | module Formatter class Json (line 5) | class Json < Base method call (line 6) | def self.call(object, _env) FILE: lib/grape/formatter/serializable_hash.rb type Grape (line 3) | module Grape type Formatter (line 4) | module Formatter class SerializableHash (line 5) | class SerializableHash < Base method call (line 7) | def call(object, _env) method serializable? (line 17) | def serializable?(object) method serialize (line 21) | def serialize(object) method array_serializable? (line 33) | def array_serializable?(object) FILE: lib/grape/formatter/txt.rb type Grape (line 3) | module Grape type Formatter (line 4) | module Formatter class Txt (line 5) | class Txt < Base method call (line 6) | def self.call(object, _env) FILE: lib/grape/formatter/xml.rb type Grape (line 3) | module Grape type Formatter (line 4) | module Formatter class Xml (line 5) | class Xml < Base method call (line 6) | def self.call(object, _env) FILE: lib/grape/json.rb type Grape (line 3) | module Grape FILE: lib/grape/middleware/auth/base.rb type Grape (line 3) | module Grape type Middleware (line 4) | module Middleware type Auth (line 5) | module Auth class Base (line 6) | class Base < Grape::Middleware::Base method initialize (line 7) | def initialize(app, **options) method call! (line 14) | def call!(env) FILE: lib/grape/middleware/auth/dsl.rb type Grape (line 3) | module Grape type Middleware (line 4) | module Middleware type Auth (line 5) | module Auth type DSL (line 6) | module DSL function auth (line 7) | def auth(type = nil, options = {}, &block) function http_basic (line 19) | def http_basic(options = {}, &) function http_digest (line 24) | def http_digest(options = {}, &) FILE: lib/grape/middleware/auth/strategies.rb type Grape (line 3) | module Grape type Middleware (line 4) | module Middleware type Auth (line 5) | module Auth type Strategies (line 6) | module Strategies function add (line 9) | def add(label, strategy, option_fetcher = ->(_) { [] }) function auth_strategies (line 13) | def auth_strategies function [] (line 19) | def [](label) FILE: lib/grape/middleware/auth/strategy_info.rb type Grape (line 3) | module Grape type Middleware (line 4) | module Middleware type Auth (line 5) | module Auth function create (line 7) | def create(app, options, &block) FILE: lib/grape/middleware/base.rb type Grape (line 3) | module Grape type Middleware (line 4) | module Middleware class Base (line 5) | class Base method initialize (line 12) | def initialize(app, **options) method call (line 18) | def call(env) method call! (line 22) | def call!(env) method before (line 43) | def before; end method after (line 48) | def after; end method rack_request (line 50) | def rack_request method context (line 54) | def context method response (line 58) | def response method content_types (line 64) | def content_types method mime_types (line 68) | def mime_types method content_type_for (line 72) | def content_type_for(format) method content_type (line 76) | def content_type method query_params (line 80) | def query_params method merge_headers (line 90) | def merge_headers(response) method content_types_indifferent_access (line 99) | def content_types_indifferent_access method merge_default_options (line 103) | def merge_default_options(options) method try_scrub (line 113) | def try_scrub(obj) FILE: lib/grape/middleware/error.rb type Grape (line 3) | module Grape type Middleware (line 4) | module Middleware class Error (line 5) | class Error < Base method call! (line 19) | def call!(env) method rack_response (line 28) | def rack_response(status, headers, message) method format_message (line 33) | def format_message(message, backtrace, original_exception = nil) method find_handler (line 45) | def find_handler(klass) method error_response (line 53) | def error_response(error = {}) method default_rescue_handler (line 65) | def default_rescue_handler(exception) method rescue_handler_for_base_only_class (line 69) | def rescue_handler_for_base_only_class(klass) method rescue_handler_for_class_or_its_ancestor (line 77) | def rescue_handler_for_class_or_its_ancestor(klass) method rescue_handler_for_grape_exception (line 85) | def rescue_handler_for_grape_exception(klass) method rescue_handler_for_any_class (line 93) | def rescue_handler_for_any_class(klass) method run_rescue_handler (line 100) | def run_rescue_handler(handler, error, endpoint) method error! (line 115) | def error!(message, status = options[:default_status], headers = {... method error? (line 123) | def error?(response) FILE: lib/grape/middleware/filter.rb type Grape (line 3) | module Grape type Middleware (line 4) | module Middleware class Filter (line 9) | class Filter < Base method before (line 10) | def before method after (line 14) | def after FILE: lib/grape/middleware/formatter.rb type Grape (line 3) | module Grape type Middleware (line 4) | module Middleware class Formatter (line 5) | class Formatter < Base method before (line 12) | def before method after (line 17) | def after method build_formatted_response (line 31) | def build_formatted_response(status, headers, bodies) method fetch_formatter (line 50) | def fetch_formatter(headers, options) method ensure_content_type (line 59) | def ensure_content_type(headers) method read_body_input (line 67) | def read_body_input method read_rack_input (line 83) | def read_rack_input(body) method read_body_input? (line 118) | def read_body_input? method negotiate_content_type (line 125) | def negotiate_content_type method format_from_extension (line 134) | def format_from_extension method format_from_header (line 143) | def format_from_header FILE: lib/grape/middleware/globals.rb type Grape (line 3) | module Grape type Middleware (line 4) | module Middleware class Globals (line 5) | class Globals < Base method before (line 6) | def before FILE: lib/grape/middleware/stack.rb type Grape (line 3) | module Grape type Middleware (line 4) | module Middleware class Stack (line 7) | class Stack class Middleware (line 10) | class Middleware method initialize (line 13) | def initialize(klass, args, block) method name (line 19) | def name method == (line 23) | def ==(other) method inspect (line 32) | def inspect method build (line 36) | def build(builder) method initialize (line 51) | def initialize method insert (line 56) | def insert(index, klass, *args, &block) method insert_after (line 63) | def insert_after(index, ...) method use (line 68) | def use(klass, *args, &block) method merge_with (line 73) | def merge_with(middleware_specs) method build (line 85) | def build method concat (line 96) | def concat(other_specs) method assert_index (line 104) | def assert_index(index, where) FILE: lib/grape/middleware/versioner.rb type Grape (line 11) | module Grape type Middleware (line 12) | module Middleware type Versioner (line 13) | module Versioner function using (line 20) | def using(strategy) FILE: lib/grape/middleware/versioner/accept_version_header.rb type Grape (line 3) | module Grape type Middleware (line 4) | module Middleware type Versioner (line 5) | module Versioner class AcceptVersionHeader (line 19) | class AcceptVersionHeader < Base method before (line 20) | def before method not_acceptable! (line 32) | def not_acceptable!(message) FILE: lib/grape/middleware/versioner/base.rb type Grape (line 3) | module Grape type Middleware (line 4) | module Middleware type Versioner (line 5) | module Versioner class Base (line 6) | class Base < Grape::Middleware::Base method inherited (line 33) | def self.inherited(klass) method initialize (line 40) | def initialize(app, **options) method potential_version_match? (line 46) | def potential_version_match?(potential_version) method version_not_found! (line 50) | def version_not_found! method available_media_types (line 56) | def available_media_types FILE: lib/grape/middleware/versioner/header.rb type Grape (line 3) | module Grape type Middleware (line 4) | module Middleware type Versioner (line 5) | module Versioner class Header (line 24) | class Header < Base method before (line 25) | def before method match_best_quality_media_type! (line 39) | def match_best_quality_media_type! method accept_header (line 51) | def accept_header method strict_header_checks! (line 55) | def strict_header_checks! method accept_header_check! (line 62) | def accept_header_check! method version_and_vendor_check! (line 68) | def version_and_vendor_check! method q_values_mime_types (line 74) | def q_values_mime_types method version_and_vendor? (line 78) | def version_and_vendor? method invalid_accept_header! (line 82) | def invalid_accept_header!(message) method invalid_version_header! (line 86) | def invalid_version_header!(message) method fail! (line 90) | def fail! method vendor_not_found! (line 97) | def vendor_not_found!(media_types) method version_not_found! (line 103) | def version_not_found!(media_types) FILE: lib/grape/middleware/versioner/param.rb type Grape (line 3) | module Grape type Middleware (line 4) | module Middleware type Versioner (line 5) | module Versioner class Param (line 21) | class Param < Base method before (line 22) | def before FILE: lib/grape/middleware/versioner/path.rb type Grape (line 3) | module Grape type Middleware (line 4) | module Middleware type Versioner (line 5) | module Versioner class Path (line 19) | class Path < Base method before (line 20) | def before FILE: lib/grape/namespace.rb type Grape (line 3) | module Grape class Namespace (line 7) | class Namespace method initialize (line 15) | def initialize(space, requirements: nil, **options) method joined_space (line 22) | def self.joined_space(settings) method eql? (line 26) | def eql?(other) method hash (line 34) | def hash method joined_space_path (line 40) | def self.joined_space_path(settings) class JoinedSpaceCache (line 44) | class JoinedSpaceCache < Grape::Util::Cache method initialize (line 45) | def initialize FILE: lib/grape/params_builder.rb type Grape (line 3) | module Grape type ParamsBuilder (line 4) | module ParamsBuilder function params_builder_for (line 9) | def params_builder_for(short_name) FILE: lib/grape/params_builder/base.rb type Grape (line 3) | module Grape type ParamsBuilder (line 4) | module ParamsBuilder class Base (line 5) | class Base method call (line 7) | def call(_params) method inherited (line 13) | def inherited(klass) FILE: lib/grape/params_builder/hash.rb type Grape (line 3) | module Grape type ParamsBuilder (line 4) | module ParamsBuilder class Hash (line 5) | class Hash < Base method call (line 6) | def self.call(params) FILE: lib/grape/params_builder/hash_with_indifferent_access.rb type Grape (line 3) | module Grape type ParamsBuilder (line 4) | module ParamsBuilder class HashWithIndifferentAccess (line 5) | class HashWithIndifferentAccess < Base method call (line 6) | def self.call(params) FILE: lib/grape/params_builder/hashie_mash.rb type Grape (line 3) | module Grape type ParamsBuilder (line 4) | module ParamsBuilder class HashieMash (line 5) | class HashieMash < Base method call (line 6) | def self.call(params) FILE: lib/grape/parser.rb type Grape (line 3) | module Grape type Parser (line 4) | module Parser function parser_for (line 9) | def parser_for(format, parsers = nil) FILE: lib/grape/parser/base.rb type Grape (line 3) | module Grape type Parser (line 4) | module Parser class Base (line 5) | class Base method call (line 6) | def self.call(_object, _env) method inherited (line 10) | def self.inherited(klass) FILE: lib/grape/parser/json.rb type Grape (line 3) | module Grape type Parser (line 4) | module Parser class Json (line 5) | class Json < Base method call (line 6) | def self.call(object, _env) FILE: lib/grape/parser/xml.rb type Grape (line 3) | module Grape type Parser (line 4) | module Parser class Xml (line 5) | class Xml < Base method call (line 6) | def self.call(object, _env) FILE: lib/grape/path.rb type Grape (line 3) | module Grape class Path (line 5) | class Path method initialize (line 12) | def initialize(raw_path, raw_namespace, settings) method to_s (line 17) | def to_s method build_suffix (line 23) | def build_suffix(raw_path, raw_namespace, settings) method build_parts (line 33) | def build_parts(raw_path, raw_namespace, settings) method add_part (line 43) | def add_part(parts, value) method not_slash? (line 47) | def not_slash?(value) method uses_specific_format? (line 51) | def uses_specific_format?(settings) method uses_path_versioning? (line 57) | def uses_path_versioning?(settings) method valid_part? (line 63) | def valid_part?(part) class PartsCache (line 67) | class PartsCache < Grape::Util::Cache method initialize (line 68) | def initialize FILE: lib/grape/presenters/presenter.rb type Grape (line 3) | module Grape type Presenters (line 4) | module Presenters class Presenter (line 5) | class Presenter method represent (line 6) | def self.represent(object, **_options) FILE: lib/grape/railtie.rb type Grape (line 3) | module Grape class Railtie (line 4) | class Railtie < ::Rails::Railtie FILE: lib/grape/request.rb type Grape (line 3) | module Grape class Request (line 4) | class Request < Rack::Request method initialize (line 142) | def initialize(env, build_params_with: nil) method params (line 147) | def params method headers (line 151) | def headers method cookies (line 155) | def cookies method grape_routing_args (line 160) | def grape_routing_args method make_params (line 167) | def make_params method build_headers (line 181) | def build_headers FILE: lib/grape/router.rb type Grape (line 3) | module Grape class Router (line 4) | class Router method normalize_path (line 12) | def self.normalize_path(path) method initialize (line 32) | def initialize method compile! (line 39) | def compile! method append (line 54) | def append(route) method associate_routes (line 58) | def associate_routes(greedy_route) method call (line 63) | def call(env) method recognize_path (line 72) | def recognize_path(input) method identity (line 81) | def identity(input, method, env) method rotation (line 90) | def rotation(input, method, env, exact_route) method transaction (line 102) | def transaction(input, method, env) method process_route (line 134) | def process_route(route, input, env, include_allow_header: false) method with_optimization (line 143) | def with_optimization method default_response (line 148) | def default_response method match? (line 153) | def match?(input, method) method greedy_match? (line 157) | def greedy_match?(input) method cascade? (line 161) | def cascade?(response) FILE: lib/grape/router/base_route.rb type Grape (line 3) | module Grape class Router (line 4) | class Router class BaseRoute (line 5) | class BaseRoute method initialize (line 15) | def initialize(pattern, options = {}) method namespace (line 21) | def namespace method regexp_capture_index (line 25) | def regexp_capture_index method pattern_regexp (line 29) | def pattern_regexp method to_regexp (line 33) | def to_regexp(index) class CaptureIndexCache (line 38) | class CaptureIndexCache < Grape::Util::Cache method initialize (line 39) | def initialize FILE: lib/grape/router/greedy_route.rb type Grape (line 6) | module Grape class Router (line 7) | class Router class GreedyRoute (line 8) | class GreedyRoute < BaseRoute method initialize (line 15) | def initialize(pattern, endpoint:, allow_header:) method params (line 21) | def params(_input = nil) FILE: lib/grape/router/pattern.rb type Grape (line 3) | module Grape class Router (line 4) | class Router class Pattern (line 5) | class Pattern method initialize (line 16) | def initialize(origin:, suffix:, anchor:, params:, format:, versio... method captures_default (line 23) | def captures_default method extract_capture (line 31) | def extract_capture(format, version, requirements) method build_path_from_pattern (line 41) | def build_path_from_pattern(pattern, anchor) method map_str (line 53) | def map_str(value) class PatternCache (line 57) | class PatternCache < Grape::Util::Cache method initialize (line 58) | def initialize FILE: lib/grape/router/route.rb type Grape (line 3) | module Grape class Router (line 4) | class Router class Route (line 5) | class Route < BaseRoute method initialize (line 15) | def initialize(endpoint, method, pattern, options) method convert_to_head_request! (line 22) | def convert_to_head_request! method apply (line 26) | def apply(app) method match? (line 31) | def match?(input) method params (line 37) | def params(input = nil) method params_without_input (line 48) | def params_without_input method upcase_method (line 52) | def upcase_method(method) FILE: lib/grape/serve_stream/file_body.rb type Grape (line 3) | module Grape type ServeStream (line 4) | module ServeStream class FileBody (line 8) | class FileBody method initialize (line 12) | def initialize(path) method to_path (line 19) | def to_path method each (line 23) | def each method == (line 31) | def ==(other) FILE: lib/grape/serve_stream/sendfile_response.rb type Grape (line 3) | module Grape type ServeStream (line 4) | module ServeStream class SendfileResponse (line 7) | class SendfileResponse < Rack::Response method respond_to? (line 8) | def respond_to?(method_name, include_all = false) method to_path (line 16) | def to_path FILE: lib/grape/serve_stream/stream_response.rb type Grape (line 3) | module Grape type ServeStream (line 4) | module ServeStream class StreamResponse (line 7) | class StreamResponse method initialize (line 11) | def initialize(stream) method == (line 18) | def ==(other) FILE: lib/grape/util/api_description.rb type Grape (line 3) | module Grape type Util (line 4) | module Util class ApiDescription (line 5) | class ApiDescription method initialize (line 26) | def initialize(description, endpoint_configuration, &) method configuration (line 41) | def configuration method settings (line 45) | def settings method eval_endpoint_config (line 51) | def eval_endpoint_config(configuration) FILE: lib/grape/util/base_inheritable.rb type Grape (line 3) | module Grape type Util (line 4) | module Util class BaseInheritable (line 7) | class BaseInheritable method initialize (line 12) | def initialize(inherited_values = nil) method delete (line 17) | def delete(*keys) method initialize_copy (line 24) | def initialize_copy(other) method keys (line 30) | def keys method key? (line 41) | def key?(name) FILE: lib/grape/util/cache.rb type Grape (line 3) | module Grape type Util (line 4) | module Util class Cache (line 5) | class Cache FILE: lib/grape/util/endpoint_configuration.rb type Grape (line 3) | module Grape type Util (line 4) | module Util class EndpointConfiguration (line 5) | class EndpointConfiguration < Lazy::ValueHash FILE: lib/grape/util/header.rb type Grape (line 3) | module Grape type Util (line 4) | module Util FILE: lib/grape/util/inheritable_setting.rb type Grape (line 3) | module Grape type Util (line 4) | module Util class InheritableSetting (line 7) | class InheritableSetting method global (line 11) | def self.global method reset_global! (line 18) | def self.reset_global! method initialize (line 25) | def initialize method global (line 40) | def global method inherit_from (line 48) | def inherit_from(parent) method point_in_time_copy (line 65) | def point_in_time_copy method route_end (line 83) | def route_end method to_hash (line 88) | def to_hash method namespace_stackable_with_hash (line 99) | def namespace_stackable_with_hash(key) FILE: lib/grape/util/inheritable_values.rb type Grape (line 3) | module Grape type Util (line 4) | module Util class InheritableValues (line 5) | class InheritableValues < BaseInheritable method [] (line 6) | def [](name) method []= (line 10) | def []=(name, value) method merge (line 14) | def merge(new_hash) method to_hash (line 18) | def to_hash method values (line 24) | def values FILE: lib/grape/util/lazy/block.rb type Grape (line 3) | module Grape type Util (line 4) | module Util type Lazy (line 5) | module Lazy class Block (line 6) | class Block method initialize (line 7) | def initialize(&new_block) method evaluate_from (line 11) | def evaluate_from(configuration) method evaluate (line 15) | def evaluate method lazy? (line 19) | def lazy? method to_s (line 23) | def to_s FILE: lib/grape/util/lazy/value.rb type Grape (line 3) | module Grape type Util (line 4) | module Util type Lazy (line 5) | module Lazy class Value (line 6) | class Value method initialize (line 9) | def initialize(value, access_keys = []) method evaluate_from (line 14) | def evaluate_from(configuration) method evaluate (line 19) | def evaluate method lazy? (line 23) | def lazy? method reached_by (line 27) | def reached_by(parent_access_keys, access_key) method to_s (line 32) | def to_s FILE: lib/grape/util/lazy/value_array.rb type Grape (line 3) | module Grape type Util (line 4) | module Util type Lazy (line 5) | module Lazy class ValueArray (line 6) | class ValueArray < ValueEnumerable method initialize (line 7) | def initialize(array) method evaluate (line 15) | def evaluate FILE: lib/grape/util/lazy/value_enumerable.rb type Grape (line 3) | module Grape type Util (line 4) | module Util type Lazy (line 5) | module Lazy class ValueEnumerable (line 6) | class ValueEnumerable < Value method [] (line 7) | def [](key) method fetch (line 15) | def fetch(access_keys) method []= (line 21) | def []=(key, value) FILE: lib/grape/util/lazy/value_hash.rb type Grape (line 3) | module Grape type Util (line 4) | module Util type Lazy (line 5) | module Lazy class ValueHash (line 6) | class ValueHash < ValueEnumerable method initialize (line 7) | def initialize(hash) method evaluate (line 15) | def evaluate FILE: lib/grape/util/media_type.rb type Grape (line 3) | module Grape type Util (line 4) | module Util class MediaType (line 5) | class MediaType method initialize (line 12) | def initialize(type:, subtype:) method == (line 22) | def ==(other) method eql? (line 26) | def eql?(other) method hash (line 35) | def hash method best_quality (line 40) | def best_quality(header, available_media_types) method parse (line 44) | def parse(media_type) method match? (line 53) | def match?(media_type) method best_quality_media_type (line 62) | def best_quality_media_type(header, available_media_types) FILE: lib/grape/util/registry.rb type Grape (line 3) | module Grape type Util (line 4) | module Util type Registry (line 5) | module Registry function register (line 6) | def register(klass) function build_short_name (line 16) | def build_short_name(klass) function registry (line 22) | def registry FILE: lib/grape/util/reverse_stackable_values.rb type Grape (line 3) | module Grape type Util (line 4) | module Util class ReverseStackableValues (line 5) | class ReverseStackableValues < StackableValues method concat_values (line 8) | def concat_values(inherited_value, new_value) FILE: lib/grape/util/stackable_values.rb type Grape (line 3) | module Grape type Util (line 4) | module Util class StackableValues (line 5) | class StackableValues < BaseInheritable method [] (line 7) | def [](name) method []= (line 16) | def []=(name, value) method to_hash (line 21) | def to_hash method concat_values (line 29) | def concat_values(inherited_value, new_value) FILE: lib/grape/util/translation.rb type Grape (line 3) | module Grape type Util (line 4) | module Util type Translation (line 5) | module Translation function inspect (line 12) | def inspect = 'Grape::Util::Translation::MISSING' function translate (line 21) | def translate(key, default: MISSING, scope: 'grape.errors.messages... function fallback_locale? (line 33) | def fallback_locale?(locale) function fallback_locale_unavailable? (line 37) | def fallback_locale_unavailable? FILE: lib/grape/validations.rb type Grape (line 3) | module Grape type Validations (line 4) | module Validations function require_validator (line 9) | def require_validator(short_name) function build_short_name (line 15) | def build_short_name(klass) FILE: lib/grape/validations/attributes_iterator.rb type Grape (line 3) | module Grape type Validations (line 4) | module Validations class AttributesIterator (line 5) | class AttributesIterator method initialize (line 10) | def initialize(attrs, scope, params) method each (line 17) | def each(&) method do_each (line 23) | def do_each(params_to_process, parent_indices = [], &block) method store_indices (line 48) | def store_indices(target_scope, index, parent_indices) method yield_attributes (line 64) | def yield_attributes(_resource_params) method skip? (line 72) | def skip?(val) FILE: lib/grape/validations/contract_scope.rb type Grape (line 3) | module Grape type Validations (line 4) | module Validations class ContractScope (line 5) | class ContractScope method initialize (line 10) | def initialize(api, contract = nil, &block) FILE: lib/grape/validations/multiple_attributes_iterator.rb type Grape (line 3) | module Grape type Validations (line 4) | module Validations class MultipleAttributesIterator (line 5) | class MultipleAttributesIterator < AttributesIterator method yield_attributes (line 8) | def yield_attributes(resource_params) FILE: lib/grape/validations/param_scope_tracker.rb type Grape (line 3) | module Grape type Validations (line 4) | module Validations class ParamScopeTracker (line 11) | class ParamScopeTracker method track (line 20) | def self.track method current (line 28) | def self.current method initialize (line 32) | def initialize method store_index (line 37) | def store_index(scope, index) method index_for (line 41) | def index_for(scope) method qualifying_params (line 48) | def qualifying_params(scope) method store_qualifying_params (line 52) | def store_qualifying_params(scope, params) FILE: lib/grape/validations/params_documentation.rb type Grape (line 3) | module Grape type Validations (line 4) | module Validations type ParamsDocumentation (line 8) | module ParamsDocumentation function document_params (line 9) | def document_params(attrs, validations, type = nil, values = nil, ... function extract_details (line 20) | def extract_details(validations, type, values, except_values) class TypeCache (line 40) | class TypeCache < Grape::Util::Cache method initialize (line 41) | def initialize FILE: lib/grape/validations/params_scope.rb type Grape (line 3) | module Grape type Validations (line 4) | module Validations class ParamsScope (line 5) | class ParamsScope method qualifying_params (line 9) | def qualifying_params class Attr (line 23) | class Attr method initialize (line 29) | def initialize(key, scope) method attrs_keys (line 35) | def self.attrs_keys(declared_params) method attr_key (line 41) | def self.attr_key(declared_param_attr) method initialize (line 67) | def initialize(api:, element: nil, element_renamed: nil, parent: n... method configuration (line 87) | def configuration method should_validate? (line 93) | def should_validate?(parameters) method meets_dependency? (line 103) | def meets_dependency?(params, request_params) method attr_meets_dependency? (line 116) | def attr_meets_dependency?(params) method meets_hash_dependency? (line 123) | def meets_hash_dependency?(params) method full_name (line 141) | def full_name(name, index: nil) method brackets (line 157) | def brackets(val) method root? (line 162) | def root? method nested? (line 168) | def nested? method lateral? (line 175) | def lateral? method required? (line 181) | def required? method push_declared_params (line 189) | def push_declared_params(attrs, **opts) method full_path (line 200) | def full_path method push_renamed_param (line 219) | def push_renamed_param(path, new_name) method require_required_and_optional_fields (line 226) | def require_required_and_optional_fields(context, using:, except: ... method require_optional_fields (line 249) | def require_optional_fields(context, using:, except: nil) method validate_attributes (line 261) | def validate_attributes(attrs, **opts, &block) method new_scope (line 274) | def new_scope(element, type:, as:, optional: false, &) method new_lateral_scope (line 298) | def new_lateral_scope(dependent_on:, &) method new_group_scope (line 313) | def new_group_scope(group, &) method configure_declared_params (line 318) | def configure_declared_params method find_nearest_array_ancestor (line 331) | def find_nearest_array_ancestor method validates (line 337) | def validates(attrs, validations) method infer_coercion (line 388) | def infer_coercion(validations) method check_coerce_with (line 417) | def check_coerce_with(validations) method coerce_type (line 435) | def coerce_type(validations, attrs, required, opts) method guess_coerce_type (line 451) | def guess_coerce_type(coerce_type, *values_list) method check_incompatible_option_values (line 461) | def check_incompatible_option_values(default, values, except_values) method validate (line 471) | def validate(type, options, attrs, required, opts) method validate_value_coercion (line 483) | def validate_value_coercion(coerce_type, *values_list) method extract_message_option (line 496) | def extract_message_option(attrs) method options_key? (line 503) | def options_key?(type, key, validations) method all_element_blank? (line 507) | def all_element_blank?(scoped_params) method derive_validator_options (line 513) | def derive_validator_options(validations) method validates_presence (line 522) | def validates_presence(validations, attrs, opts) FILE: lib/grape/validations/single_attribute_iterator.rb type Grape (line 3) | module Grape type Validations (line 4) | module Validations class SingleAttributeIterator (line 5) | class SingleAttributeIterator < AttributesIterator method yield_attributes (line 8) | def yield_attributes(val) method empty? (line 21) | def empty?(val) FILE: lib/grape/validations/types.rb type Grape (line 3) | module Grape type Validations (line 4) | module Validations type Types (line 15) | module Types function primitive? (line 55) | def primitive?(type) function structure? (line 65) | def structure?(type) function multiple? (line 77) | def multiple?(type) function special? (line 88) | def special?(type) function group? (line 97) | def group?(type) function custom? (line 106) | def custom?(type) function collection_of_custom? (line 119) | def collection_of_custom?(type) function map_special (line 125) | def map_special(type) function build_coercer (line 157) | def build_coercer(type, method: nil, strict: false) function create_coercer_instance (line 164) | def create_coercer_instance(type, method, strict) class CoercerCache (line 188) | class CoercerCache < Grape::Util::Cache method initialize (line 189) | def initialize FILE: lib/grape/validations/types/array_coercer.rb type Grape (line 3) | module Grape type Validations (line 4) | module Validations type Types (line 5) | module Types class ArrayCoercer (line 14) | class ArrayCoercer < DryTypeCoercer method initialize (line 15) | def initialize(type, strict = false) method call (line 21) | def call(_val) method coerce_elements (line 32) | def coerce_elements(collection) method reject? (line 50) | def reject?(val) method elem_coercer (line 54) | def elem_coercer FILE: lib/grape/validations/types/custom_type_coercer.rb type Grape (line 3) | module Grape type Validations (line 4) | module Validations type Types (line 5) | module Types class CustomTypeCoercer (line 35) | class CustomTypeCoercer method initialize (line 43) | def initialize(type, method = nil) method call (line 54) | def call(val) method coerced? (line 63) | def coerced?(val) method infer_coercion_method (line 75) | def infer_coercion_method(type, method) method infer_type_check (line 95) | def infer_type_check(type) method recursive_type_check (line 118) | def recursive_type_check(type, value) method enforce_symbolized_keys (line 138) | def enforce_symbolized_keys(type, method) FILE: lib/grape/validations/types/custom_type_collection_coercer.rb type Grape (line 3) | module Grape type Validations (line 4) | module Validations type Types (line 5) | module Types class CustomTypeCollectionCoercer (line 18) | class CustomTypeCollectionCoercer < CustomTypeCoercer method initialize (line 32) | def initialize(type, set = false) method call (line 42) | def call(value) FILE: lib/grape/validations/types/dry_type_coercer.rb type Grape (line 3) | module Grape type Validations (line 4) | module Validations type Types (line 5) | module Types class DryTypeCoercer (line 10) | class DryTypeCoercer method collection_coercer_for (line 17) | def collection_coercer_for(type) method coercer_instance_for (line 29) | def coercer_instance_for(type, strict = false) method initialize (line 35) | def initialize(type, strict = false) method call (line 45) | def call(val) FILE: lib/grape/validations/types/file.rb type Grape (line 3) | module Grape type Validations (line 4) | module Validations type Types (line 5) | module Types class File (line 9) | class File method parse (line 11) | def parse(input) method parsed? (line 21) | def parsed?(value) FILE: lib/grape/validations/types/invalid_value.rb type Grape (line 3) | module Grape type Validations (line 4) | module Validations type Types (line 5) | module Types class InvalidValue (line 8) | class InvalidValue method initialize (line 11) | def initialize(message = nil) FILE: lib/grape/validations/types/json.rb type Grape (line 3) | module Grape type Validations (line 4) | module Validations type Types (line 5) | module Types class Json (line 12) | class Json method parse (line 18) | def parse(input) method parsed? (line 32) | def parsed?(value) method coerced_collection? (line 42) | def coerced_collection?(value) class JsonArray (line 52) | class JsonArray < Json method parse (line 58) | def parse(input) method parsed? (line 64) | def parsed?(value) FILE: lib/grape/validations/types/multiple_type_coercer.rb type Grape (line 3) | module Grape type Validations (line 4) | module Validations type Types (line 5) | module Types class MultipleTypeCoercer (line 15) | class MultipleTypeCoercer method initialize (line 22) | def initialize(types, method = nil) method call (line 40) | def call(val) FILE: lib/grape/validations/types/primitive_coercer.rb type Grape (line 3) | module Grape type Validations (line 4) | module Validations type Types (line 5) | module Types class PrimitiveCoercer (line 9) | class PrimitiveCoercer < DryTypeCoercer method initialize (line 10) | def initialize(type, strict = false) method call (line 16) | def call(val) method reject? (line 31) | def reject?(val) method treat_as_nil? (line 40) | def treat_as_nil?(val) FILE: lib/grape/validations/types/set_coercer.rb type Grape (line 3) | module Grape type Validations (line 4) | module Validations type Types (line 5) | module Types class SetCoercer (line 8) | class SetCoercer < ArrayCoercer method initialize (line 9) | def initialize(type, strict = false) method call (line 15) | def call(value) method coerce_elements (line 23) | def coerce_elements(collection) FILE: lib/grape/validations/types/variant_collection_coercer.rb type Grape (line 3) | module Grape type Validations (line 4) | module Validations type Types (line 5) | module Types class VariantCollectionCoercer (line 8) | class VariantCollectionCoercer method initialize (line 20) | def initialize(types, method = nil) method call (line 35) | def call(value) FILE: lib/grape/validations/validator_factory.rb type Grape (line 3) | module Grape type Validations (line 4) | module Validations class ValidatorFactory (line 5) | class ValidatorFactory method create_validator (line 6) | def self.create_validator(options) FILE: lib/grape/validations/validators/all_or_none_of_validator.rb type Grape (line 3) | module Grape type Validations (line 4) | module Validations type Validators (line 5) | module Validators class AllOrNoneOfValidator (line 6) | class AllOrNoneOfValidator < MultipleParamsBase method validate_params! (line 7) | def validate_params!(params) FILE: lib/grape/validations/validators/allow_blank_validator.rb type Grape (line 3) | module Grape type Validations (line 4) | module Validations type Validators (line 5) | module Validators class AllowBlankValidator (line 6) | class AllowBlankValidator < Base method validate_param! (line 7) | def validate_param!(attr_name, params) FILE: lib/grape/validations/validators/as_validator.rb type Grape (line 3) | module Grape type Validations (line 4) | module Validations type Validators (line 5) | module Validators class AsValidator (line 6) | class AsValidator < Base method validate_param! (line 10) | def validate_param!(*); end FILE: lib/grape/validations/validators/at_least_one_of_validator.rb type Grape (line 3) | module Grape type Validations (line 4) | module Validations type Validators (line 5) | module Validators class AtLeastOneOfValidator (line 6) | class AtLeastOneOfValidator < MultipleParamsBase method validate_params! (line 7) | def validate_params!(params) FILE: lib/grape/validations/validators/base.rb type Grape (line 3) | module Grape type Validations (line 4) | module Validations type Validators (line 5) | module Validators class Base (line 6) | class Base method initialize (line 19) | def initialize(attrs, options, required, scope, opts) method validate (line 33) | def validate(request) method validate! (line 44) | def validate!(params) method inherited (line 62) | def self.inherited(klass) method message (line 67) | def message(default_key = nil) method options_key? (line 72) | def options_key?(key, options = nil) method fail_fast? (line 77) | def fail_fast? FILE: lib/grape/validations/validators/coerce_validator.rb type Grape (line 3) | module Grape type Validations (line 4) | module Validations type Validators (line 5) | module Validators class CoerceValidator (line 6) | class CoerceValidator < Base method initialize (line 7) | def initialize(attrs, options, required, scope, opts) method validate_param! (line 17) | def validate_param!(attr_name, params) method valid_type? (line 48) | def valid_type?(val) method coerce_value (line 52) | def coerce_value(val) method type (line 62) | def type method validation_exception (line 66) | def validation_exception(attr_name, custom_msg = nil) FILE: lib/grape/validations/validators/contract_scope_validator.rb type Grape (line 3) | module Grape type Validations (line 4) | module Validations type Validators (line 5) | module Validators class ContractScopeValidator (line 6) | class ContractScopeValidator < Base method initialize (line 9) | def initialize(_attrs, _options, _required, _scope, opts) method validate (line 18) | def validate(request) method build_errors_from_messages (line 31) | def build_errors_from_messages(messages) FILE: lib/grape/validations/validators/default_validator.rb type Grape (line 3) | module Grape type Validations (line 4) | module Validations type Validators (line 5) | module Validators class DefaultValidator (line 6) | class DefaultValidator < Base method initialize (line 7) | def initialize(attrs, options, required, scope, opts = {}) method validate_param! (line 12) | def validate_param!(attr_name, params) method validate! (line 26) | def validate!(params) FILE: lib/grape/validations/validators/exactly_one_of_validator.rb type Grape (line 3) | module Grape type Validations (line 4) | module Validations type Validators (line 5) | module Validators class ExactlyOneOfValidator (line 6) | class ExactlyOneOfValidator < MultipleParamsBase method validate_params! (line 7) | def validate_params!(params) FILE: lib/grape/validations/validators/except_values_validator.rb type Grape (line 3) | module Grape type Validations (line 4) | module Validations type Validators (line 5) | module Validators class ExceptValuesValidator (line 6) | class ExceptValuesValidator < Base method initialize (line 7) | def initialize(attrs, options, required, scope, opts) method validate_param! (line 12) | def validate_param!(attr_name, params) FILE: lib/grape/validations/validators/length_validator.rb type Grape (line 3) | module Grape type Validations (line 4) | module Validations type Validators (line 5) | module Validators class LengthValidator (line 6) | class LengthValidator < Base method initialize (line 7) | def initialize(attrs, options, required, scope, opts) method validate_param! (line 23) | def validate_param!(attr_name, params) method build_message (line 33) | def build_message FILE: lib/grape/validations/validators/multiple_params_base.rb type Grape (line 3) | module Grape type Validations (line 4) | module Validations type Validators (line 5) | module Validators class MultipleParamsBase (line 6) | class MultipleParamsBase < Base method validate! (line 7) | def validate!(params) method keys_in_common (line 22) | def keys_in_common(resource_params) method all_keys (line 28) | def all_keys FILE: lib/grape/validations/validators/mutually_exclusive_validator.rb type Grape (line 3) | module Grape type Validations (line 4) | module Validations type Validators (line 5) | module Validators class MutuallyExclusiveValidator (line 6) | class MutuallyExclusiveValidator < MultipleParamsBase method validate_params! (line 7) | def validate_params!(params) FILE: lib/grape/validations/validators/presence_validator.rb type Grape (line 3) | module Grape type Validations (line 4) | module Validations type Validators (line 5) | module Validators class PresenceValidator (line 6) | class PresenceValidator < Base method validate_param! (line 7) | def validate_param!(attr_name, params) FILE: lib/grape/validations/validators/regexp_validator.rb type Grape (line 3) | module Grape type Validations (line 4) | module Validations type Validators (line 5) | module Validators class RegexpValidator (line 6) | class RegexpValidator < Base method validate_param! (line 7) | def validate_param!(attr_name, params) method scrub (line 18) | def scrub(param) FILE: lib/grape/validations/validators/same_as_validator.rb type Grape (line 3) | module Grape type Validations (line 4) | module Validations type Validators (line 5) | module Validators class SameAsValidator (line 6) | class SameAsValidator < Base method validate_param! (line 7) | def validate_param!(attr_name, params) method build_message (line 19) | def build_message FILE: lib/grape/validations/validators/values_validator.rb type Grape (line 3) | module Grape type Validations (line 4) | module Validations type Validators (line 5) | module Validators class ValuesValidator (line 6) | class ValuesValidator < Base method initialize (line 7) | def initialize(attrs, options, required, scope, opts) method validate_param! (line 12) | def validate_param!(attr_name, params) method check_values? (line 34) | def check_values?(val, attr_name) method required_for_root_scope? (line 49) | def required_for_root_scope? FILE: lib/grape/version.rb type Grape (line 3) | module Grape FILE: lib/grape/xml.rb type Grape (line 3) | module Grape FILE: spec/grape/api/custom_validations_spec.rb function validate_param! (line 18) | def validate_param!(attr_name, params) function validate (line 70) | def validate(request) function validate_param! (line 113) | def validate_param!(attr_name, _params) function validate (line 152) | def validate(request) function access_header (line 164) | def access_header function validate_param! (line 218) | def validate_param!(_attr_name, _params) FILE: spec/grape/api/inherited_helpers_spec.rb function current_user (line 11) | def current_user function current_user (line 22) | def current_user function app (line 54) | def app function app (line 74) | def app function app (line 94) | def app FILE: spec/grape/api/instance_spec.rb function app (line 23) | def app FILE: spec/grape/api/invalid_format_spec.rb function app (line 6) | def app FILE: spec/grape/api/mount_and_helpers_order_spec.rb function app (line 30) | def app function app (line 66) | def app function app (line 100) | def app function app (line 132) | def app function app (line 166) | def app function app (line 198) | def app FILE: spec/grape/api/mount_and_rescue_from_spec.rb function app (line 36) | def app function app (line 70) | def app FILE: spec/grape/api/mounted_helpers_inheritance_spec.rb function parent_helper (line 17) | def parent_helper function app (line 26) | def app FILE: spec/grape/api/namespace_parameters_in_route_spec.rb function app (line 6) | def app FILE: spec/grape/api/nested_helpers_spec.rb function current_user (line 8) | def current_user function app (line 40) | def app FILE: spec/grape/api/optional_parameters_in_route_spec.rb function app (line 6) | def app FILE: spec/grape/api/parameters_modification_spec.rb function app (line 6) | def app FILE: spec/grape/api/patch_method_helpers_spec.rb function authenticate! (line 16) | def authenticate!; end function app (line 46) | def app FILE: spec/grape/api/required_parameters_in_route_spec.rb function app (line 6) | def app FILE: spec/grape/api/required_parameters_with_invalid_method_spec.rb function app (line 6) | def app FILE: spec/grape/api/routes_with_requirements_spec.rb function app (line 6) | def app FILE: spec/grape/api/shared_helpers_spec.rb function app (line 27) | def app FILE: spec/grape/api_remount_spec.rb function printed_response (line 472) | def printed_response FILE: spec/grape/api_spec.rb function enable_root_route! (line 286) | def subject.enable_root_route! function to_json (line 421) | def to_json(*_rest) function to_txt (line 425) | def to_txt function initialize (line 1401) | def initialize(app, *args) function call (line 1407) | def call(env) function before (line 1496) | def before function initialize (line 1511) | def initialize(app, keyword:) function call (line 1516) | def call(env) function call (line 1540) | def call(env) function call (line 1561) | def call(env) function call (line 1582) | def call(env) function authorize? (line 1658) | def authorize?(user, password) function io (line 1696) | def self.io function hello (line 1714) | def hello function generic (line 1729) | def generic function secret (line 1736) | def secret function one (line 1758) | def one function two (line 1764) | def two function hello (line 1778) | def hello function one (line 1794) | def one function two (line 1799) | def two function three (line 1804) | def three function some_helper (line 1989) | def some_helper function custom_error! (line 2046) | def custom_error!(name) function foo (line 2063) | def foo function foo (line 2078) | def foo function rescue_arg_error (line 2325) | def rescue_arg_error function rescue_no_method_error (line 2329) | def rescue_no_method_error function rescue_arg_error (line 2356) | def rescue_arg_error function rescue_all_errors (line 2360) | def rescue_all_errors function call (line 2514) | def self.call(message, _backtrace, _options, _env, _original_exception) function call (line 2876) | def self.call(object, _env) function call (line 2936) | def self.call(object, _env) function included (line 3890) | def self.included(base) function my_method (line 3900) | def my_method function before (line 4103) | def before function serializable_hash (line 4121) | def serializable_hash function before (line 4209) | def before function inherited (line 4435) | def self.inherited(child_api) function inherited (line 4461) | def inherited(api) function uniqe_id_route (line 4514) | def uniqe_id_route FILE: spec/grape/dsl/helpers_spec.rb function mods (line 11) | def self.mods function first_mod (line 15) | def self.first_mod function test (line 23) | def test FILE: spec/grape/dsl/inside_route_spec.rb function initialize (line 13) | def initialize function header (line 19) | def header(key = nil, val = nil) function initialize (line 413) | def initialize FILE: spec/grape/dsl/parameters_spec.rb function initialize (line 12) | def initialize function validate_attributes (line 16) | def validate_attributes(*args) function validate_attributes_reader (line 20) | def validate_attributes_reader function push_declared_params (line 24) | def push_declared_params(args, _opts) function push_declared_params_reader (line 28) | def push_declared_params_reader function validates (line 32) | def validates(*args) function validates_reader (line 36) | def validates_reader function new_scope (line 40) | def new_scope(element, **_opts, &block) function new_group_scope (line 46) | def new_group_scope(group) function extract_message_option (line 53) | def extract_message_option(attrs) FILE: spec/grape/dsl/settings_spec.rb function with_namespace (line 10) | def with_namespace(&block) function reset_validations! (line 14) | def reset_validations!; end FILE: spec/grape/dsl/validations_spec.rb function schema (line 67) | def schema; end FILE: spec/grape/endpoint_spec.rb function app (line 6) | def app function handle_argument_error (line 145) | def handle_argument_error function memoized (line 750) | def memoized FILE: spec/grape/exceptions/body_parse_errors_spec.rb function app (line 19) | def app function app (line 73) | def app function app (line 111) | def app function app (line 146) | def app FILE: spec/grape/exceptions/invalid_accept_header_spec.rb function app (line 54) | def app function app (line 86) | def app function app (line 129) | def app function app (line 166) | def app function app (line 204) | def app function app (line 245) | def app function app (line 288) | def app function app (line 334) | def app FILE: spec/grape/exceptions/validation_errors_spec.rb function app (line 62) | def app FILE: spec/grape/integration/global_namespace_function_spec.rb function namespace (line 5) | def namespace function app (line 19) | def app FILE: spec/grape/loading_spec.rb function app (line 38) | def app FILE: spec/grape/middleware/base_spec.rb function before (line 161) | def before function after (line 165) | def after function before (line 191) | def before function after (line 195) | def after function before (line 228) | def before FILE: spec/grape/middleware/error_spec.rb function static (line 9) | def static function call (line 19) | def call(_env) FILE: spec/grape/middleware/exception_spec.rb function call (line 7) | def call(_env) function call (line 17) | def call(_env) function error! (line 37) | def error!(message, status) function call (line 41) | def call(_env) function error! (line 51) | def error!(message, status) function call (line 55) | def call(_env) FILE: spec/grape/middleware/formatter_spec.rb function to_json (line 34) | def to_json(*_args) function to_xml (line 51) | def to_xml function call (line 451) | def self.call(_, _) FILE: spec/grape/middleware/stack_spec.rb function initialize (line 12) | def initialize(&block) FILE: spec/grape/middleware/versioner/header_spec.rb function app (line 309) | def app function app (line 337) | def app FILE: spec/grape/middleware/versioner/param_spec.rb function app (line 101) | def app function app (line 153) | def app FILE: spec/grape/presenters/presenter_spec.rb function initialize (line 12) | def initialize FILE: spec/grape/util/registry_spec.rb function registry_empty? (line 12) | def registry_empty? function registry_get (line 16) | def registry_get(key) function name (line 25) | def self.name function name (line 33) | def self.name function name (line 41) | def self.name function name (line 51) | def self.name function name (line 59) | def self.name function name (line 155) | def self.name function name (line 166) | def self.name function name (line 177) | def self.name FILE: spec/grape/util/translation_spec.rb function translate_message (line 8) | def translate_message(key, **opts) FILE: spec/grape/validations/params_documentation_spec.rb function initialize (line 18) | def initialize(api) function full_name (line 22) | def full_name(name) FILE: spec/grape/validations/params_scope_spec.rb function app (line 8) | def app function parse (line 17) | def self.parse(value) function initialize (line 23) | def initialize(value) FILE: spec/grape/validations/types_spec.rb function parse (line 6) | def self.parse(_); end function parse (line 11) | def self.parse; end FILE: spec/grape/validations/validators/base_i18n_spec.rb function validate_param! (line 11) | def validate_param!(attr_name, params) FILE: spec/grape/validations/validators/coerce_validator_spec.rb function parse (line 11) | def self.parse(value) function parsed? (line 15) | def self.parsed?(value) function parse (line 256) | def self.parse(_val) FILE: spec/grape/validations/validators/default_validator_spec.rb function app (line 277) | def app function app (line 393) | def app function app (line 514) | def app FILE: spec/grape/validations/validators/presence_validator_spec.rb function app (line 10) | def app function parse (line 289) | def self.parse(value) FILE: spec/grape/validations/validators/values_validator_spec.rb function values (line 7) | def values function add_value (line 12) | def add_value(value) function excepts (line 17) | def excepts function add_except (line 22) | def add_except(except) function include? (line 27) | def include?(value) function even? (line 31) | def even?(value) function default_values (line 37) | def default_values function default_excepts (line 41) | def default_excepts function app (line 590) | def app FILE: spec/grape/validations_spec.rb function define_optional_using (line 51) | def define_optional_using function define_requires_all (line 192) | def define_requires_all function define_requires_none (line 234) | def define_requires_none function define_requires_all (line 276) | def define_requires_all function define_requires_none (line 299) | def define_requires_none function validate_param! (line 541) | def validate_param!(attr_name, params) function validate_param! (line 1251) | def validate_param!(attr_name, params) function validate_param! (line 1409) | def validate_param!(attr_name, params) FILE: spec/integration/grape_entity/entity_spec.rb function first (line 14) | def first function initialize (line 170) | def initialize(id) function initialize (line 192) | def initialize(id) function initialize (line 217) | def initialize(args) function initialize (line 247) | def initialize(args) function initialize (line 276) | def initialize(args) function initialize (line 295) | def initialize(args) function static (line 328) | def static function call (line 340) | def call(_env) function static (line 379) | def static FILE: spec/support/basic_auth_encode_helpers.rb type Spec (line 3) | module Spec type Support (line 4) | module Support type Helpers (line 5) | module Helpers function encode_basic_auth (line 6) | def encode_basic_auth(username, password) FILE: spec/support/chunked_response.rb class ChunkedResponse (line 5) | class ChunkedResponse class Body (line 6) | class Body method initialize (line 11) | def initialize(body) method each (line 17) | def each(&) method close (line 31) | def close method yield_trailers (line 38) | def yield_trailers; end class TrailerBody (line 41) | class TrailerBody < Body method yield_trailers (line 45) | def yield_trailers method initialize (line 52) | def initialize(app) method call (line 56) | def call(env) FILE: spec/support/content_type_helpers.rb type Spec (line 3) | module Spec type Support (line 4) | module Support type Helpers (line 5) | module Helpers FILE: spec/support/cookie_jar.rb type Spec (line 4) | module Spec type Support (line 5) | module Support class CookieJar (line 7) | class CookieJar method initialize (line 10) | def initialize(raw) method to_h (line 21) | def to_h method to_s (line 25) | def to_s method unescape (line 31) | def unescape(value) method parse_value (line 35) | def parse_value(attribute, value) type Rack (line 51) | module Rack class MockResponse (line 52) | class MockResponse method cookie_jar (line 53) | def cookie_jar FILE: spec/support/deprecated_warning_handlers.rb type DeprecatedWarningHandler (line 5) | module DeprecatedWarningHandler class DeprecationWarning (line 6) | class DeprecationWarning < StandardError; end function warn (line 10) | def warn(message) FILE: spec/support/deregister.rb type Deregister (line 3) | module Deregister function deregister (line 4) | def deregister(key) FILE: spec/support/endpoint_faker.rb type Spec (line 3) | module Spec type Support (line 4) | module Support class EndpointFaker (line 5) | class EndpointFaker class FakerAPI (line 6) | class FakerAPI < Grape::API method initialize (line 10) | def initialize(app, endpoint = FakerAPI.endpoints.first) method call (line 15) | def call(env) FILE: spec/support/file_streamer.rb class FileStreamer (line 3) | class FileStreamer method initialize (line 4) | def initialize(file_path) method each (line 8) | def each(&blk) FILE: spec/support/integer_helpers.rb type Spec (line 3) | module Spec type Support (line 4) | module Support type Helpers (line 5) | module Helpers function integer_class_name (line 8) | def integer_class_name FILE: spec/support/versioned_helpers.rb type Spec (line 4) | module Spec type Support (line 5) | module Support type Helpers (line 6) | module Helpers function versioned_path (line 9) | def versioned_path(options) function versioned_headers (line 20) | def versioned_headers(options) function versioned_get (line 40) | def versioned_get(path, version_name, version_options)