Exception: Zoom::Error::ProfileNotNamed
- Inherits:
-
Zoom::Error
- Object
- RuntimeError
- Zoom::Error
- Zoom::Error::ProfileNotNamed
- Defined in:
- lib/zoom/error/profile_not_named.rb
Instance Method Summary collapse
-
#initialize(json) ⇒ ProfileNotNamed
constructor
A new instance of ProfileNotNamed.
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 |