Module: Office365::REST::Mailbox

Includes:
Concerns::Base
Included in:
API
Defined in:
lib/office365/rest/mailbox.rb

Instance Method Summary collapse

Instance Method Details

#messages(args = {}) ⇒ Object

params: args => { next_link: (nil / next_page_url) } response { results: [], next_link: ‘…’ }



12
13
14
# File 'lib/office365/rest/mailbox.rb', line 12

def messages(args = {})
  wrap_results(args.merge(kclass: Models::Mailbox, base_uri: "/me/messages"))
end