class HealthCards::InvalidKeyError
Exception thrown when an invalid key (public or private) is provided
Public Class Methods
new(expected_class, actual_obj)
click to toggle source
Calls superclass method
# File lib/health_cards/errors.rb, line 65 def initialize(expected_class, actual_obj) super("Expected an instance of #{expected_class} but was #{actual_obj.class}") end