Exception: Zoom::Error::ProfileNotNamed

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

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ ProfileNotNamed

Returns a new instance of ProfileNotNamed.



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

def initialize(json)
    super("Profile has no name:\n#{JSON.pretty_generate(json)}")
end