Sha256: a3cfd41cfb3342698952c761fca2e8f7d8ce250b503801488374dd711a989054

Contents?: true

Size: 216 Bytes

Versions: 15

Compression:

Stored size: 216 Bytes

Contents

class SiteHub
  class Response < Rack::Response
    attr_reader :status, :headers, :body, :time
    def initialize(body, status, headers)
      super
      @time = Time.now
    end
    alias headers header
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
sitehub-0.5.0.alpha12 lib/sitehub/response.rb
sitehub-0.4.10 lib/sitehub/response.rb
sitehub-0.5.0.alpha11 lib/sitehub/response.rb
sitehub-0.5.0.alpha10 lib/sitehub/response.rb
sitehub-0.5.0.alpha8 lib/sitehub/response.rb
sitehub-0.5.0.alpha7 lib/sitehub/response.rb
sitehub-0.5.0.alpha6 lib/sitehub/response.rb
sitehub-0.5.0.alpha5 lib/sitehub/response.rb
sitehub-0.5.0.alpha4 lib/sitehub/response.rb
sitehub-0.5.0.alpha3 lib/sitehub/response.rb
sitehub-0.5.0.alpha2 lib/sitehub/response.rb
sitehub-0.4.9 lib/sitehub/response.rb
sitehub-0.4.8 lib/sitehub/response.rb
sitehub-0.4.7 lib/sitehub/response.rb
sitehub-0.4.6 lib/sitehub/response.rb