module Desk::Client::Mailbox
Public Instance Methods
mailbox_id_inbound(href, parent_id = false)
click to toggle source
# File lib/desk/client/mailbox.rb, line 18 def mailbox_id_inbound(href, parent_id = false) return nil if parent_id href.split("/")[5].to_i end
Also aliased as: inbound_mailbox_id
mailbox_list_inbound(*args)
click to toggle source
# File lib/desk/client/mailbox.rb, line 5 def mailbox_list_inbound(*args) options = args.last.is_a?(Hash) ? args.pop : {} get("mailboxes/inbound", options) end
Also aliased as: inbound_mailboxes, list_inbound_mailboxes
mailbox_show_inbound(mailbox_id)
click to toggle source
# File lib/desk/client/mailbox.rb, line 12 def mailbox_show_inbound(mailbox_id) get("mailboxes/inbound/#{mailbox_id}") end
Also aliased as: inbound_mailbox, show_inbound_mailbox