Exception: Zoom::Error::ProfileDoesNotExist

Inherits:
Zoom::Error
  • Object
show all
Defined in:
lib/zoom/error/profile_does_not_exist.rb

Instance Method Summary collapse

Constructor Details

#initialize(profile = nil) ⇒ ProfileDoesNotExist

Returns a new instance of ProfileDoesNotExist.



2
3
4
5
# File 'lib/zoom/error/profile_does_not_exist.rb', line 2

def initialize(profile = nil)
    super("Profile does not exist: #{profile}") if (profile)
    super("Profile does not exist") if (profile.nil?)
end