Method: Graphiti::Errors::AttributeError#initialize
- Defined in:
- lib/graphiti/errors.rb
#initialize(resource, name, flag, **opts) ⇒ AttributeError
Returns a new instance of AttributeError.
306 307 308 309 310 311 |
# File 'lib/graphiti/errors.rb', line 306 def initialize(resource, name, flag, **opts) @resource = resource @name = name @flag = flag @request = opts[:request] || false end |