lib/ocean/api_remote_resource.rb
#
# 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. The resource will
# always be 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. The resource will
always be 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 . The resource will always be returned .
def refresh
      if present? && etag.present?
        (_conditional_get rescue nil) || self
      else
        get
      end
    end
def refresh if present? && etag . present? ( _conditional_get rescue nil ) || 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 .