Exception: CoachClient::IncompleteInformation

Inherits:
Exception
  • Object
show all
Defined in:
lib/coach_client/exceptions.rb

Overview

The error for missing informations of a resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(resource) ⇒ CoachClient::IncompleteInformation

Parameters:



73
74
75
# File 'lib/coach_client/exceptions.rb', line 73

def initialize(resource)
  @resource = resource
end

Instance Attribute Details

#resourceCoachClient::Resource (readonly)

Returns the resource that encountered the error.



69
70
71
# File 'lib/coach_client/exceptions.rb', line 69

def resource
  @resource
end