Module: Pingpp::APIOperations::List

Instance Method Summary collapse

Instance Method Details

#list(filters = {}, opts = {}) ⇒ Object Also known as: all



4
5
6
7
8
9
# File 'lib/pingpp/api_operations/list.rb', line 4

def list(filters={}, opts={})
  opts = Util.normalize_opts(opts)

  response, opts = request(:get, resource_url(opts), filters, opts)
  ListObject.construct_from(response, opts)
end