Sha256: 9fe1e5c37754072372c404a431387909b615d46df1ef6e0a0b659cb5c5357e6e

Contents?: true

Size: 628 Bytes

Versions: 35

Compression:

Stored size: 628 Bytes

Contents

module Inferno
  module Web
    module Serializers
      class Request < Serializer
        view :summary do
          field :id
          field :created_at, name: :timestamp
          field :verb
          field :url
          field :direction
          field :status
          field :result_id
        end

        view :full do
          include_view :summary

          field :created_at, name: :timestamp
          association :request_headers, blueprint: Header
          association :response_headers, blueprint: Header
          field :request_body
          field :response_body
        end
      end
    end
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
inferno_core-0.1.3.pre2 lib/inferno/apps/web/serializers/request.rb
inferno_core-0.1.3.pre lib/inferno/apps/web/serializers/request.rb
inferno_core-0.1.2 lib/inferno/apps/web/serializers/request.rb
inferno_core-0.1.2.pre lib/inferno/apps/web/serializers/request.rb
inferno_core-0.1.1 lib/inferno/apps/web/serializers/request.rb
inferno_core-0.1.1.pre lib/inferno/apps/web/serializers/request.rb
inferno_core-0.1.0 lib/inferno/apps/web/serializers/request.rb
inferno_core-0.1.0.pre lib/inferno/apps/web/serializers/request.rb
inferno_core-0.0.8 lib/inferno/apps/web/serializers/request.rb
inferno_core-0.0.8.pre2 lib/inferno/apps/web/serializers/request.rb
inferno_core-0.0.8.pre lib/inferno/apps/web/serializers/request.rb
inferno_core-0.0.7 lib/inferno/apps/web/serializers/request.rb
inferno_core-0.0.6 lib/inferno/apps/web/serializers/request.rb
inferno_core-0.0.5 lib/inferno/apps/web/serializers/request.rb
inferno_core-0.0.4 lib/inferno/apps/web/serializers/request.rb