Module: Viewpoint::EWS::RoomlistAccessors

Includes:
Viewpoint::EWS
Included in:
Viewpoint::EWSClient
Defined in:
lib/ews/roomlist_accessors.rb

Overview

This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services.

Copyright 

Constant Summary

Constants included from Viewpoint::EWS

ConnectingSID

Instance Attribute Summary

Attributes included from Viewpoint::EWS

#logger

Instance Method Summary collapse

Methods included from Viewpoint::EWS

#remove_impersonation, root_logger, #set_impersonation

Instance Method Details

#get_room_listsObject

Gets the room lists that are available within the Exchange organization.



24
25
26
27
# File 'lib/ews/roomlist_accessors.rb', line 24

def get_room_lists
  resp = ews.get_room_lists
  get_room_lists_parser(resp)
end

#roomlist_email(roomlist) ⇒ Object



33
34
35
# File 'lib/ews/roomlist_accessors.rb', line 33

def roomlist_email( roomlist )
  roomlist[:address][:elems][:email_address][:text]
end

#roomlist_name(roomlist) ⇒ Object



29
30
31
# File 'lib/ews/roomlist_accessors.rb', line 29

def roomlist_name( roomlist )
  roomlist[:address][:elems][:name][:text]
end