Class: ActionDispatch::ParamBuilder
Relationships & Source Files | |
Inherits: | Object |
Defined in: | actionpack/lib/action_dispatch/http/param_builder.rb |
Constant Summary
-
LEADING_BRACKETS_COMPAT =
# File 'actionpack/lib/action_dispatch/http/param_builder.rb', line 21defined?(::Rack::RELEASE) && ::Rack::RELEASE.to_s.start_with?("2.")
Class Attribute Summary
- .default (also: #default) rw
- .ignore_leading_brackets (also: #ignore_leading_brackets) rw
Class Method Summary
Instance Attribute Summary
Constructor Details
.new(param_depth_limit) ⇒ ParamBuilder
# File 'actionpack/lib/action_dispatch/http/param_builder.rb', line 15
def initialize(param_depth_limit) @param_depth_limit = param_depth_limit end
Class Attribute Details
.default (rw) Also known as: #default
[ GitHub ]# File 'actionpack/lib/action_dispatch/http/param_builder.rb', line 23
cattr_accessor :default
.ignore_leading_brackets (rw) Also known as: #ignore_leading_brackets
[ GitHub ]# File 'actionpack/lib/action_dispatch/http/param_builder.rb', line 19
cattr_accessor :ignore_leading_brackets
Class Method Details
.make_default(param_depth_limit)
[ GitHub ]# File 'actionpack/lib/action_dispatch/http/param_builder.rb', line 9
def self.make_default(param_depth_limit) new param_depth_limit end
Instance Attribute Details
#default (rw)
[ GitHub ]# File 'actionpack/lib/action_dispatch/http/param_builder.rb', line 23
cattr_accessor :default
#from_hash(hash, encoding_template: nil) (readonly)
[ GitHub ]# File 'actionpack/lib/action_dispatch/http/param_builder.rb', line 50
delegate :from_query_string, :from_pairs, :from_hash, to: :default
#from_pairs(pairs, encoding_template: nil) (readonly)
[ GitHub ]# File 'actionpack/lib/action_dispatch/http/param_builder.rb', line 34
delegate :from_query_string, :from_pairs, :from_hash, to: :default
#from_query_string(qs, separator: nil, encoding_template: nil) (readonly)
[ GitHub ]# File 'actionpack/lib/action_dispatch/http/param_builder.rb', line 30
delegate :from_query_string, :from_pairs, :from_hash, to: :default
#ignore_leading_brackets (rw)
[ GitHub ]# File 'actionpack/lib/action_dispatch/http/param_builder.rb', line 19
cattr_accessor :ignore_leading_brackets
#param_depth_limit (readonly)
[ GitHub ]# File 'actionpack/lib/action_dispatch/http/param_builder.rb', line 13
attr_reader :param_depth_limit