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.3.11 lib/inferno/apps/web/serializers/request.rb
inferno_core-0.3.10 lib/inferno/apps/web/serializers/request.rb
inferno_core-0.3.9 lib/inferno/apps/web/serializers/request.rb
inferno_core-0.3.8 lib/inferno/apps/web/serializers/request.rb
inferno_core-0.3.7 lib/inferno/apps/web/serializers/request.rb
inferno_core-0.3.6 lib/inferno/apps/web/serializers/request.rb
inferno_core-0.3.5 lib/inferno/apps/web/serializers/request.rb
inferno_core-0.3.4 lib/inferno/apps/web/serializers/request.rb
inferno_core-0.3.3 lib/inferno/apps/web/serializers/request.rb
inferno_core-0.3.2 lib/inferno/apps/web/serializers/request.rb
inferno_core-0.3.1 lib/inferno/apps/web/serializers/request.rb
inferno_core-0.3.0 lib/inferno/apps/web/serializers/request.rb
inferno_core-0.3.0.rc1 lib/inferno/apps/web/serializers/request.rb
inferno_core-0.2.0 lib/inferno/apps/web/serializers/request.rb
inferno_core-0.2.0.rc4 lib/inferno/apps/web/serializers/request.rb
inferno_core-0.2.0.rc3 lib/inferno/apps/web/serializers/request.rb
inferno_core-0.2.0.rc2 lib/inferno/apps/web/serializers/request.rb
inferno_core-0.2.0.rc1 lib/inferno/apps/web/serializers/request.rb
inferno_core-0.1.4.pre lib/inferno/apps/web/serializers/request.rb
inferno_core-0.1.3 lib/inferno/apps/web/serializers/request.rb