Module: TicketEvolution::Modules::List

Instance Method Summary collapse

Instance Method Details

#list(params = nil, &handler) ⇒ Object Also known as: all



4
5
6
7
# File 'lib/ticket_evolution/modules/list.rb', line 4

def list(params = nil, &handler)
  handler ||= method(:collection_handler)
  request(:GET, nil, params, &handler)
end

#raw(params = nil, &handler) ⇒ Object



9
10
11
12
# File 'lib/ticket_evolution/modules/list.rb', line 9

def raw(params = nil, &handler)
  handler ||= method(:raw_handler)
  request(:GET, nil, params, &handler)
end