Module: Layer::Operations::Fetch

Included in:
Identity, SingletonRelationProxy
Defined in:
lib/layer/operations/fetch.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#reloadLayer::Resource

Reloads the resource

Returns:

Raises:



26
27
28
29
# File 'lib/layer/operations/fetch.rb', line 26

def reload
  self.attributes = client.get(url)
  self
end