class Acfs::ResourceNotLoaded

A ResourceNotLoaded error will be thrown when calling some modifing methods on not loaded resources as it is usally unwanted to call e.g. `update_attributes` on a not loaded resource. Correct solution is to first run `Acfs.run` to fetch the resource and then update the resource.

Attributes

resource[R]

Public Class Methods

new(opts = {}) click to toggle source
Calls superclass method Acfs::Error::new
# File lib/acfs/errors.rb, line 125
def initialize(opts = {})
  @resource = opts.delete :resource
  super
end