news-article

DESCRIPTION

Gem that implement the News::Article class and methods. See RFC-5536 for all the technical details.

SYNOPSIS

require "news/article"

Attributes:

@headers
@rawheaders
@body
@envelope

Class methods:

new
canonical

Instance methods:

headers
envelope [ADDR]
add_headers(NAME, VALUE, [NAME, VALUE, ]...)
set_headers(NAME, VALUE, [NAME, VALUE, ]...)
header_names
sign_control

Instance methods created on the fly:

one per header field (e.g. #from, #newsgroups) with get/set.

Private methods

check_args

DEPENDENCIES

Bundler gpgme (for sign_control) RSpec (for specs) rr (Mock)

TASKS

Main document for format: http://tools.ietf.org/html/rfc5536

TODO