Exception: CoachClient::NotConfirmed

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

Overview

Returns the error for partnerships that could not be confirmed.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(partnership) ⇒ CoachClient::NotConfirmed

Parameters:



31
32
33
# File 'lib/coach_client/exceptions.rb', line 31

def initialize(partnership)
  @partnership = partnership
end

Instance Attribute Details

#partnershipCoachClient::Partnership (readonly)

Returns the partnership that encountered the error.



27
28
29
# File 'lib/coach_client/exceptions.rb', line 27

def partnership
  @partnership
end