Module: Seam::ResourceErrorsSupport
- Included in:
- AccessCode, ConnectedAccount, Device, DeviceProvider, UnmanagedAccessCode, UnmanagedDevice
- Defined in:
- lib/seam/resources/resource_errors_support.rb
Instance Method Summary collapse
Instance Method Details
#errors ⇒ Object
5 6 7 |
# File 'lib/seam/resources/resource_errors_support.rb', line 5 def errors @errors_converted ||= @errors.is_a?(Array) ? Seam::ResourceError.load_from_response(@errors) : [] end |