Exception: Openpix::RubySdk::Resources::NotImplementedError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/openpix/ruby_sdk/resources/resource.rb

Overview

Error returned when the required method is not implemented in the class child class

Instance Method Summary collapse

Constructor Details

#initialize(msg: nil, method: 'nil') ⇒ NotImplementedError

Returns a new instance of NotImplementedError.



15
16
17
18
19
# File 'lib/openpix/ruby_sdk/resources/resource.rb', line 15

def initialize(msg: nil, method: 'nil')
  super(msg) if msg.present?

  super("#{method} not implemented")
end