123456789_123456789_123456789_123456789_123456789_

Class: Net::IMAP::StatusData

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Struct
Instance Chain:
self, Struct
Inherits: Struct
  • Object
Defined in: lib/net/imap.rb

Overview

StatusData represents the contents of the STATUS response.

Fields:

mailbox

Returns the mailbox name.

attr

Returns a hash. Each key is one of “MESSAGES”, “RECENT”, “UIDNEXT”, “UIDVALIDITY”, “UNSEEN”. Each value is a number.

Instance Attribute Summary

  • #attr rw

    StatusData represents the contents of the STATUS response.

  • #mailbox rw

    StatusData represents the contents of the STATUS response.

Instance Attribute Details

#attr (rw)

StatusData represents the contents of the STATUS response.

Fields:

mailbox

Returns the mailbox name.

attr

Returns a hash. Each key is one of “MESSAGES”, “RECENT”, “UIDNEXT”, “UIDVALIDITY”, “UNSEEN”. Each value is a number.

[ GitHub ]

  
# File 'lib/net/imap.rb', line 1797

StatusData = Struct.new(:mailbox, :attr)

#mailbox (rw)

StatusData represents the contents of the STATUS response.

Fields:

mailbox

Returns the mailbox name.

attr

Returns a hash. Each key is one of “MESSAGES”, “RECENT”, “UIDNEXT”, “UIDVALIDITY”, “UNSEEN”. Each value is a number.

[ GitHub ]

  
# File 'lib/net/imap.rb', line 1797

StatusData = Struct.new(:mailbox, :attr)