Exception: CapsuleCRM::Errors::AssociationTypeMismatch
- Inherits:
-
StandardError
- Object
- StandardError
- CapsuleCRM::Errors::AssociationTypeMismatch
- Defined in:
- lib/capsule_crm/errors/association_type_mismatch.rb
Instance Method Summary collapse
-
#initialize(args) ⇒ AssociationTypeMismatch
constructor
A new instance of AssociationTypeMismatch.
Constructor Details
#initialize(args) ⇒ AssociationTypeMismatch
Returns a new instance of AssociationTypeMismatch.
4 5 6 7 |
# File 'lib/capsule_crm/errors/association_type_mismatch.rb', line 4 def initialize(args) received, expected = *args super "#{expected} expected, received #{received}" end |