Sha256: b27bfb374196c0fb7a16c68e92c5dee3f1257441b90685069dc8a10a7311a279

Contents?: true

Size: 243 Bytes

Versions: 10

Compression:

Stored size: 243 Bytes

Contents

module Typhoeus
  class Response
    module Cacheable

      # Set the cache status, if we got response from cache
      # it will have cached? == true
      attr_writer :cached

      def cached?
        !!@cached
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
dwolla_swagger-1.0.6 vendor/bundle/ruby/2.2.0/gems/typhoeus-0.8.0/lib/typhoeus/response/cacheable.rb
typhoeus-0.8.0 lib/typhoeus/response/cacheable.rb
typhoeus-0.7.3 lib/typhoeus/response/cacheable.rb
typhoeus-0.7.2 lib/typhoeus/response/cacheable.rb
typhoeus-0.7.1 lib/typhoeus/response/cacheable.rb
typhoeus-0.7.0 lib/typhoeus/response/cacheable.rb
typhoeus-0.7.0.pre1 lib/typhoeus/response/cacheable.rb
typhoeus-0.6.9 lib/typhoeus/response/cacheable.rb
typhoeus-0.6.8 lib/typhoeus/response/cacheable.rb
typhoeus-0.6.7 lib/typhoeus/response/cacheable.rb