Exception: RubyPitaya::UnpermittedParameters
- Inherits:
-
IndexError
- Object
- IndexError
- RubyPitaya::UnpermittedParameters
- Defined in:
- 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 |