Module: Viewpoint::EWS::PushSubscriptionAccessors
- Includes:
- Viewpoint::EWS
- Included in:
- Viewpoint::EWSClient
- Defined in:
- lib/ews/push_subscription_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
Instance Attribute Summary
Attributes included from Viewpoint::EWS
Instance Method Summary collapse
Methods included from Viewpoint::EWS
#remove_impersonation, root_logger, #set_impersonation
Instance Method Details
#parse_send_notification(msg) ⇒ Object
22 23 24 25 26 27 28 29 30 31 |
# File 'lib/ews/push_subscription_accessors.rb', line 22 def parse_send_notification(msg) parser = Viewpoint::EWS::SOAP::EwsParser.new(msg) resp = parser.parse response_class: Viewpoint::EWS::SOAP::EwsResponse rmsg = resp.[0] if rmsg.success? rmsg else raise EwsSubscriptionError, "#{rmsg.code}: #{rmsg.message_text}" end end |