Exception: ResoTransport::EncodeError
- Inherits:
-
ResourceError
- Object
- StandardError
- ResourceError
- ResoTransport::EncodeError
- Defined in:
- lib/reso_transport/errors.rb
Instance Attribute Summary
Attributes inherited from ResourceError
Instance Method Summary collapse
-
#initialize(resource, property) ⇒ EncodeError
constructor
A new instance of EncodeError.
- #message ⇒ Object
Methods inherited from ResourceError
Constructor Details
#initialize(resource, property) ⇒ EncodeError
Returns a new instance of EncodeError.
22 23 24 25 |
# File 'lib/reso_transport/errors.rb', line 22 def initialize(resource, property) @property = property super resource end |
Instance Method Details
#message ⇒ Object
27 28 29 |
# File 'lib/reso_transport/errors.rb', line 27 def "Property #{@property} not found for #{resource_name}" end |