lib/ocean/api_remote_resource.rb
def refresh!
      if present? && etag.present?
        _conditional_get || self
      else
        get!
      end
    end
#
# If the resource is present and has received an ETag in previous requests,
# will perform a Conditional GET to update the local representation. If the resource
# isn't present or has no ETag, a normal +#get!+ will be done. If no exception is
# raised, the resource itself is returned.
#
If the resource is present and has received an ETag in previous requests,
will perform a Conditional GET to update the local representation. If the resource
isn't present or has no ETag, a normal +#get!+ will be done. If no exception is
raised, the resource itself is returned.
If the resource is present and has received an ETag in previous requests will perform a Conditional GET to update the local representation . If the resource isn ' t present or has no ETag a normal + #get! + will be done . If no exception is raised the resource itself is returned .
def refresh!
      if present? && etag.present?
        _conditional_get || self
      else
        get!
      end
    end
def refresh! if present? && etag . present? _conditional_get || self else get! end end
If the resource is present and has received an ETag in previous requests,
will perform a Conditional GET to update the local representation.
If the resource is present and has received an ETag in previous requests will perform a Conditional GET to update the local representation .