Module: Viewpoint::EWS::CalendarAccessors

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

Overview

This file is a cotribution to Viewpoint; the Ruby library for Microsoft Exchange Web Services.

Copyright © 2013 Mark McCahill <mark.mccahill@duke.edu>

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

#event_busy_type(the_event) ⇒ Object



22
23
24
# File 'lib/ews/calendar_accessors.rb', line 22

def event_busy_type( the_event )
  the_event[:calendar_event][:elems][2][:busy_type][:text]
end

#event_end_time(the_event) ⇒ Object



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

def event_end_time( the_event )
  the_event[:calendar_event][:elems][1][:end_time][:text]
end

#event_start_time(the_event) ⇒ Object



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

def event_start_time( the_event )
  the_event[:calendar_event][:elems][0][:start_time][:text]
end