Exception: CapsuleCRM::Errors::AssociationTypeMismatch

Inherits:
StandardError
  • Object
show all
Defined in:
lib/capsule_crm/errors/association_type_mismatch.rb

Instance Method Summary collapse

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