module Layer::Operations::Find
Public Class Methods
included(base)
click to toggle source
@!visibility private
# File lib/layer/operations/find.rb, line 20 def self.included(base) base.extend(ClassMethods) end
Public Instance Methods
reload()
click to toggle source
Reloads the resource
@return [Layer::Resource] the resource itself @raise [Layer::Exceptions::Exception] a subclass of Layer::Exceptions::Exception
describing the error
# File lib/layer/operations/find.rb, line 28 def reload self.attributes = client.get(url) self end