Exception: CoachClient::NotProposed
- Defined in:
- lib/coach_client/exceptions.rb
Overview
The error for partnerships that could not be proposed.
Instance Attribute Summary collapse
-
#partnership ⇒ CoachClient::Partnership
readonly
Returns the partnership that encountered the error.
Instance Method Summary collapse
Constructor Details
#initialize(partnership) ⇒ CoachClient::NotProposed
45 46 47 |
# File 'lib/coach_client/exceptions.rb', line 45 def initialize(partnership) @partnership = partnership end |
Instance Attribute Details
#partnership ⇒ CoachClient::Partnership (readonly)
Returns the partnership that encountered the error.
41 42 43 |
# File 'lib/coach_client/exceptions.rb', line 41 def partnership @partnership end |