Method: Graphiti::Errors::AttributeError#initialize

Defined in:
lib/graphiti/errors.rb

#initialize(resource, name, flag, **opts) ⇒ AttributeError

Returns a new instance of AttributeError.



336
337
338
339
340
341
# File 'lib/graphiti/errors.rb', line 336

def initialize(resource, name, flag, **opts)
  @resource = resource
  @name = name
  @flag = flag
  @request = opts[:request] || false
end