Exception: ParameterTypeError
- Inherits:
-
StandardError
- Object
- StandardError
- ParameterTypeError
- Defined in:
- lib/pandadoc/api/document.rb
Instance Attribute Summary collapse
-
#received ⇒ Object
readonly
Returns the value of attribute received.
-
#requested ⇒ Object
readonly
Returns the value of attribute requested.
Instance Method Summary collapse
-
#initialize(message, received, requested) ⇒ ParameterTypeError
constructor
A new instance of ParameterTypeError.
Constructor Details
#initialize(message, received, requested) ⇒ ParameterTypeError
Returns a new instance of ParameterTypeError.
19 20 21 22 23 24 25 26 |
# File 'lib/pandadoc/api/document.rb', line 19 def initialize(, received, requested) # Call the parent's constructor to set the message super() # Store the action in an instance variable @received = received @requested = requested end |
Instance Attribute Details
#received ⇒ Object (readonly)
Returns the value of attribute received.
16 17 18 |
# File 'lib/pandadoc/api/document.rb', line 16 def received @received end |
#requested ⇒ Object (readonly)
Returns the value of attribute requested.
17 18 19 |
# File 'lib/pandadoc/api/document.rb', line 17 def requested @requested end |