lib/ews/soap/builders/ews_builder.rb
def get_server_time_zones!(get_time_zone_options)
      nbuild[NS_EWS_MESSAGES].GetServerTimeZones('ReturnFullTimeZoneData' => get_time_zone_options[:full]) do
        if get_time_zone_options[:ids] && get_time_zone_options[:ids].any?
          nbuild[NS_EWS_MESSAGES].Ids do
            get_time_zone_options[:ids].each do |id|
              nbuild[NS_EWS_TYPES].Id id
            end
          end
        end
      end
    end
def get_server_time_zones!(get_time_zone_options)
      nbuild[NS_EWS_MESSAGES].GetServerTimeZones('ReturnFullTimeZoneData' => get_time_zone_options[:full]) do
        if get_time_zone_options[:ids] && get_time_zone_options[:ids].any?
          nbuild[NS_EWS_MESSAGES].Ids do
            get_time_zone_options[:ids].each do |id|
              nbuild[NS_EWS_TYPES].Id id
            end
          end
        end
      end
    end
def get_server_time_zones! ( get_time_zone_options ) nbuild [ NS_EWS_MESSAGES ] . GetServerTimeZones ( 'ReturnFullTimeZoneData' => get_time_zone_options [ :full ] ) do if get_time_zone_options [ :ids ] && get_time_zone_options [ :ids ] . any? nbuild [ NS_EWS_MESSAGES ] . Ids do get_time_zone_options [ :ids ] . each do | id | nbuild [ NS_EWS_TYPES ] . Id id end end end end end
Request all known time_zones from server
Request all known time_zones from server