Class: Viewpoint::EWS::Attendee

Inherits:
MailboxUser show all
Includes:
Model
Defined in:
lib/model/attendee.rb

Overview

TODO:

Design a Class method that resolves to an Array of MailboxUsers

This represents a Mailbox object in the Exchange data store

See Also:

Instance Attribute Summary collapse

Attributes included from Model

#ews_methods, #ews_methods_undef

Instance Method Summary collapse

Methods inherited from MailboxUser

#add_delegate!, find_user, #get_delegate_info, #get_oof, #update_delegate!

Constructor Details

#initialize(attendee) ⇒ Attendee

Returns a new instance of Attendee.



30
31
32
33
# File 'lib/model/attendee.rb', line 30

def initialize(attendee)
  @response = attendee[:response_type][:text]
  super(attendee[:mailbox])
end

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



28
29
30
# File 'lib/model/attendee.rb', line 28

def response
  @response
end