Module: Webmachine::Resource::EntityTags

Included in:
Webmachine::Resource
Defined in:
lib/webmachine/resource/entity_tags.rb

Instance Method Summary collapse

Instance Method Details

#weak_etag(str) ⇒ WeakETag

Marks a generated entity tag (etag) as “weak”, meaning that other representations of the resource may be semantically equivalent.


12
13
14
# File 'lib/webmachine/resource/entity_tags.rb', line 12

def weak_etag(str)
  WeakETag.new(str)
end