Ruby viewpoint with EWS -
i trying started using viewpoint
against ews
within ruby
, , it's not making lot of sense @ moment. wondering can illustration code, or pointers
? using 1.0.0-beta
.
for example: know name of calendar
folder want use, search it, how access methods in folder 1 time find it? appropriate parameters
, etc...
any advice?
if haven't read yet recommend readme file in repository. has couple of examples should set on right path. also, generated api documentation should give plenty work with.
http://rubydoc.info/github/winrb/viewpoint/frames
at basic level can of calendar events next code:
calendar = client.get_folder :calendar events = calendar.items
i hope gives little more started with.
follow-up:
again, point api docs concrete methods #items. there dynamically added methods depending on type can fetch obj.ews_methods
. in case of calendaritem 1 of methods #name
can phone call obj.name folder name. dynamic methods backed formatted hash based on returned soap packet. can see in raw format issuing obj.ews_item
cheers,
dan
ruby ews
No comments:
Post a Comment