Sha256: b1490f81ebb7669e234bcee0a3cd65966cb4a8a089064243328e233ac62bb991

Contents?: true

Size: 307 Bytes

Versions: 8

Compression:

Stored size: 307 Bytes

Contents

module Pingpp
  module APIOperations
    module List
      def list(filters={}, opts={})
        opts = Util.normalize_opts(opts)

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

      alias :all :list
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
pingpp-2.2.4 lib/pingpp/api_operations/list.rb
pingpp-2.2.3 lib/pingpp/api_operations/list.rb
pingpp-2.2.2 lib/pingpp/api_operations/list.rb
pingpp-2.2.1 lib/pingpp/api_operations/list.rb
pingpp-2.2.0 lib/pingpp/api_operations/list.rb
pingpp-2.1.3 lib/pingpp/api_operations/list.rb
pingpp-2.1.1 lib/pingpp/api_operations/list.rb
pingpp-2.1.0 lib/pingpp/api_operations/list.rb