Module: Viewpoint::EWS::RoomAccessors

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

Overview

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

Copyright © 2013 Camille Baldock <[email protected]>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

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_rooms(roomDistributionList) ⇒ Object

Gets the rooms that are available within the specified room distribution list

Parameters:

  • roomDistributionList (String)

See Also:



25
26
27
28
# File 'lib/ews/room_accessors.rb', line 25

def get_rooms(roomDistributionList)
  resp = ews.get_rooms(roomDistributionList)
  get_rooms_parser(resp)
end

#room_email(room) ⇒ Object



34
35
36
# File 'lib/ews/room_accessors.rb', line 34

def room_email( room )
  room[:room][:elems][:id][:elems][1][:email_address][:text]
end

#room_name(room) ⇒ Object



30
31
32
# File 'lib/ews/room_accessors.rb', line 30

def room_name( room )
  room[:room][:elems][:id][:elems][0][:name][:text]
end