123456789_123456789_123456789_123456789_123456789_

Class: ActionDispatch::ParamBuilder

Relationships & Source Files
Inherits: Object
Defined in: actionpack/lib/action_dispatch/http/param_builder.rb

Constant Summary

Class Attribute Summary

Class Method Summary

Instance Attribute Summary

Constructor Details

.new(param_depth_limit) ⇒ ParamBuilder

[ GitHub ]

  
# 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