Class: Workato::Connector::Sdk::UndefinedStdLibMethodError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/workato/connector/sdk/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, package) ⇒ UndefinedStdLibMethodError

Returns a new instance of UndefinedStdLibMethodError.



140
141
142
143
144
# File 'lib/workato/connector/sdk/errors.rb', line 140

def initialize(name, package)
  @name = name
  @package = package
  super("Undefined method '#{name}' for \"#{package}\" namespace")
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



137
138
139
# File 'lib/workato/connector/sdk/errors.rb', line 137

def name
  @name
end

#packageObject (readonly)

Returns the value of attribute package.



138
139
140
# File 'lib/workato/connector/sdk/errors.rb', line 138

def package
  @package
end