Class: Ronin::DB::HTTPHeaderName

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
Model, Model::HasUniqueName
Defined in:
lib/ronin/db/http_header_name.rb

Overview

Represents a HTTP request or response Header name.

Instance Attribute Summary collapse

Method Summary

Methods included from Model::HasUniqueName

included

Methods included from Model

included

Instance Attribute Details

#http_request_headersArray<HTTPRequestHeader>

The associated HTTP request headers.

Returns:



53
# File 'lib/ronin/db/http_header_name.rb', line 53

has_many :http_request_headers

#http_requestsArray<HTTPRequest>

The HTTP requests which contain this HTTP Header name.

Returns:



59
# File 'lib/ronin/db/http_header_name.rb', line 59

has_many :http_requests, through: :http_request_headers

#http_response_headersArray<HTTPResponseHeader>

The associated HTTP response headers.

Returns:



65
# File 'lib/ronin/db/http_header_name.rb', line 65

has_many :http_response_headers

#http_responsesArray<HTTPResponse>

The HTTP responses which contain this HTTP Header name.

Returns:



71
# File 'lib/ronin/db/http_header_name.rb', line 71

has_many :http_responses, through: :http_response_headers

#idInteger

The primary key of the HTTP header name.

Returns:

  • (Integer)


40
# File 'lib/ronin/db/http_header_name.rb', line 40

attribute :id, :integer

#nameString

The Header name.

Returns:

  • (String)


46
# File 'lib/ronin/db/http_header_name.rb', line 46

attribute :name, :string