Exception: RubyPitaya::UnpermittedParameters
- Defined in:
- lib/rubypitaya/core/parameters.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rubypitaya-3.12.1/lib/rubypitaya/core/parameters.rb
Instance Attribute Summary collapse
-
#params ⇒ Object
readonly
Returns the value of attribute params.
Instance Method Summary collapse
-
#initialize(params) ⇒ UnpermittedParameters
constructor
A new instance of UnpermittedParameters.
Constructor Details
#initialize(params) ⇒ UnpermittedParameters
Returns a new instance of UnpermittedParameters.
48 49 50 51 |
# File 'lib/rubypitaya/core/parameters.rb', line 48 def initialize(params) @params = params super("found unpermitted parameters: #{params.join(", ")}") end |
Instance Attribute Details
#params ⇒ Object (readonly)
Returns the value of attribute params.
46 47 48 |
# File 'lib/rubypitaya/core/parameters.rb', line 46 def params @params end |