Module: Viewpoint::EWS::ConvertAccessors
Overview
This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services.
Copyright
Constant Summary
Constants included from Viewpoint::EWS
Instance Attribute Summary
Attributes included from Viewpoint::EWS
Instance Method Summary collapse
-
#convert_id(id, opts = {}) {|obj| ... } ⇒ EwsResponse
This is a class method that converts identifiers between formats.
Methods included from Viewpoint::EWS
#remove_impersonation, root_logger, #set_impersonation
Instance Method Details
#convert_id(id, opts = {}) {|obj| ... } ⇒ EwsResponse
This is a class method that converts identifiers between formats.
29 30 31 32 33 34 35 |
# File 'lib/ews/convert_accessors.rb', line 29 def convert_id(id, opts = {}) args = convert_id_args(id, opts.clone) obj = OpenStruct.new(opts: args) yield obj if block_given? resp = ews.convert_id(args) convert_id_parser(resp) end |