Exception: CoachClient::NotProposed

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

Overview

The error for partnerships that could not be proposed.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(partnership) ⇒ CoachClient::NotProposed

Parameters:



45
46
47
# File 'lib/coach_client/exceptions.rb', line 45

def initialize(partnership)
  @partnership = partnership
end

Instance Attribute Details

#partnershipCoachClient::Partnership (readonly)

Returns the partnership that encountered the error.



41
42
43
# File 'lib/coach_client/exceptions.rb', line 41

def partnership
  @partnership
end