Class: Viewpoint::EWS::SOAP::SubscribeResponseMessage

Inherits:
ResponseMessage show all
Defined in:
lib/ews/soap/responses/subscribe_response_message.rb

Instance Attribute Summary

Attributes inherited from ResponseMessage

#message, #type

Instance Method Summary collapse

Methods inherited from ResponseMessage

#initialize, #items, #message_text, #message_xml, #response_class, #response_code, #success?

Constructor Details

This class inherits a constructor from Viewpoint::EWS::SOAP::ResponseMessage

Instance Method Details

#subscriptionObject



22
23
24
# File 'lib/ews/soap/responses/subscribe_response_message.rb', line 22

def subscription
  safe_hash_access message, [:elems]
end

#subscription_idObject



26
27
28
# File 'lib/ews/soap/responses/subscribe_response_message.rb', line 26

def subscription_id
  safe_hash_access subscription, [:subscription_id, :text]
end

#watermarkObject



30
31
32
# File 'lib/ews/soap/responses/subscribe_response_message.rb', line 30

def watermark
  safe_hash_access subscription, [:watermark, :text]
end