module

NNTP::Connection::Groups

Instance methods

article_ids

Will fetch a list of the article numbers in the current group

Source
group_article_ids(group)

Will fetch a list of the article numbers in the provided group

Source
group_info(group) : NNTP::Context::Group

Will fetch the requested group and return a Group tuple. If no group is found, it will raise a NNTP::Error::NoSuchGroup error.

client.group_info "alt.binaries.cbt" # => {name: "alt.binaries.cbt", total: 56894558, first: 15495, last: 56910052}
Source
groups

Fetch all groups

Source
list_active(*args, **options)
Source
list_active(*args, **options, &)
Source
list_active_times(*args, **options)
Source
list_active_times(*args, **options, &)
Source
list_distrib_pats(*args, **options)
Source
list_distrib_pats(*args, **options, &)
Source
list_distributions(*args, **options)
Source
list_distributions(*args, **options, &)
Source
list_newsgroups(*args, **options)
Source
list_newsgroups(*args, **options, &)
Source
list_overview_fmt(*args, **options)
Source
list_overview_fmt(*args, **options, &)
Source
list_subscriptions(*args, **options)
Source
list_subscriptions(*args, **options, &)
Source
with_group(group, &)

Will set the current group to provided group and yield self to provided block

client.with_group("alt.binaries.cbt") do |c|
  # Perform actions within the context of group alt.binaries.cbt
end
Source