module HelpScout::Listable

Public Instance Methods

list(id: HelpScout.default_mailbox, page: nil) click to toggle source
# File lib/help_scout/modules/listable.rb, line 5
def list(id: HelpScout.default_mailbox, page: nil)
  HelpScout.api.get(list_path(id), page: page).embedded_list.map { |e| new e }
end
list_path(_) click to toggle source
# File lib/help_scout/modules/listable.rb, line 9
def list_path(_)
  base_path
end