class CoachClient::NotSaved
The error for resources that could not have been saved.
Attributes
resource[R]
Returns the resource that encountered the error.
@return [CoachClient::Resource]
Public Class Methods
new(resource)
click to toggle source
@param [CoachClient::Resource] resource @return [CoachClient::NotSaved]
# File lib/coach_client/exceptions.rb, line 17 def initialize(resource) @resource = resource end