Class: Reve::Classes::MailingList
Overview
Represents a MailingList for Reve::API#personal_mailing_lists Attributes
-
id ( Fixnum ) - ID of the MailingList (use this in the Reve::API#mail_messages call)
-
name ( String ) - Name of the MailingList
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(elem) ⇒ MailingList
constructor
:nodoc:.
Constructor Details
#initialize(elem) ⇒ MailingList
:nodoc:
1526 1527 1528 1529 |
# File 'lib/reve/classes.rb', line 1526 def initialize(elem) #:nodoc: @id = elem['listID'].to_i @name = elem['displayName'] end |