Sha256: b297bfa6fff8b67b032f7b9719e6573a47d9408afe9c9c9a7eaf4e8037c49fb2

Contents?: true

Size: 271 Bytes

Versions: 6840

Compression:

Stored size: 271 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?
        defined?(@cached) ? !!@cached : false
      end
    end
  end
end

Version data entries

6,840 entries across 6,837 versions & 27 rubygems

Version Path
avalara_sdk-2.4.26 vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.0/lib/typhoeus/response/cacheable.rb
ory-client-0.0.1.alpha108 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/response/cacheable.rb
ory-oathkeeper-client-0.38.23.beta1 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/response/cacheable.rb
ory-oathkeeper-client-0.38.22.beta1 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/response/cacheable.rb
ory-client-0.0.1.alpha107 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/response/cacheable.rb
ory-hydra-client-1.11.7 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/response/cacheable.rb
ory-client-0.0.1.alpha106 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/response/cacheable.rb
ory-hydra-client-1.11.6 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/response/cacheable.rb
ory-keto-client-0.8.0.alpha1 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/response/cacheable.rb
ory-client-0.0.1.alpha105 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/response/cacheable.rb
ory-client-0.0.1.alpha104 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/response/cacheable.rb
ory-client-0.0.1.alpha103 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/response/cacheable.rb
ory-hydra-client-1.11.5 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/response/cacheable.rb
cloudsmith-api-1.30.0 vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.0/lib/typhoeus/response/cacheable.rb
ory-client-0.0.1.alpha101 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/response/cacheable.rb
ory-client-0.0.1.alpha100 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/response/cacheable.rb
ory-hydra-client-1.11.4 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/response/cacheable.rb
ory-client-0.0.1.alpha99 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/response/cacheable.rb
ory-client-0.0.1.alpha98 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/response/cacheable.rb
ory-client-0.0.1.alpha97 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/response/cacheable.rb