Exception: Zoom::Error::ProfileCanNotBeModifiedError

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

Instance Method Summary collapse

Constructor Details

#initialize(profile = nil) ⇒ ProfileCanNotBeModifiedError

Returns a new instance of ProfileCanNotBeModifiedError.



4
5
6
7
# File 'lib/zoom/error/profile_can_not_be_modified_error.rb', line 4

def initialize(profile = nil)
    super("Profile can not be modified: #{profile}") if (profile)
    super("Profile can not be modified") if (profile.nil?)
end