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
cybrid_api_organization_ruby-0.123.162 vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/response/cacheable.rb
cybrid_api_id_ruby-0.123.162 vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/response/cacheable.rb
cybrid_api_id_ruby-0.123.161 vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/response/cacheable.rb
cybrid_api_organization_ruby-0.123.161 vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/response/cacheable.rb
cybrid_api_organization_ruby-0.123.160 vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/response/cacheable.rb
cybrid_api_id_ruby-0.123.160 vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/response/cacheable.rb
cybrid_api_organization_ruby-0.123.159 vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/response/cacheable.rb
cybrid_api_id_ruby-0.123.159 vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/response/cacheable.rb
cybrid_api_id_ruby-0.123.158 vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/response/cacheable.rb
cybrid_api_organization_ruby-0.123.158 vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/response/cacheable.rb
cybrid_api_id_ruby-0.123.157 vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/response/cacheable.rb
cybrid_api_organization_ruby-0.123.157 vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/response/cacheable.rb
cybrid_api_organization_ruby-0.123.156 vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/response/cacheable.rb
cybrid_api_id_ruby-0.123.156 vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/response/cacheable.rb
messente_api-2.3.0 vendor/bundle/ruby/3.4.0/gems/typhoeus-1.4.1/lib/typhoeus/response/cacheable.rb
cybrid_api_bank_ruby-0.123.153 vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/response/cacheable.rb
cybrid_api_id_ruby-0.123.153 vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/response/cacheable.rb
cybrid_api_organization_ruby-0.123.153 vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/response/cacheable.rb
cybrid_api_bank_ruby-0.123.152 vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/response/cacheable.rb
cybrid_api_id_ruby-0.123.152 vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/response/cacheable.rb