Sha256: b6de3a25e98aed25a291ad76c5a31027aeec14c708198fb44e55e3ba02474659

Contents?: true

Size: 263 Bytes

Versions: 4

Compression:

Stored size: 263 Bytes

Contents

# frozen_string_literal: true
# ProxyRb
module ProxyRb
  # A response
  class Response
    protected

    attr_reader :page

    public

    def initialize(page)
      @page = page
    end

    # def forbidden?
    #   page.status_code == 403
    # end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
proxy_rb-0.4.0 lib/proxy_rb/response.rb
proxy_rb-0.3.0 lib/proxy_rb/response.rb
proxy_rb-0.2.1 lib/proxy_rb/response.rb
proxy_rb-0.2.0 lib/proxy_rb/response.rb