Sha256: 0766e53d6e05e39349b332ddb47753a981facbeab292e2a44aa6268f93ad9468
Contents?: true
Size: 320 Bytes
Versions: 4
Compression:
Stored size: 320 Bytes
Contents
module Wiselinks module Request def wiselinks? self.headers['X-Wiselinks'].present? end def wiselinks_template? self.wiselinks? && self.headers['X-Wiselinks'] != 'partial' end def wiselinks_partial? self.wiselinks? && self.headers['X-Wiselinks'] == 'partial' end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
wiselinks-0.5.3 | lib/wiselinks/request.rb |
wiselinks-0.5.2 | lib/wiselinks/request.rb |
wiselinks-0.5.1 | lib/wiselinks/request.rb |
wiselinks-0.5.0 | lib/wiselinks/request.rb |