Sha256: 473ed6c07e5eb82316b04989ca364fa7f1388f6a3794723f8fc96a426f80e49b

Contents?: true

Size: 368 Bytes

Versions: 20

Compression:

Stored size: 368 Bytes

Contents

module Nurego
  module APIOperations
    module List
      module ClassMethods
        def all(filters={}, api_key=nil)
          response, api_key = Nurego.request(:get, url, api_key, filters)
          Util.convert_to_nurego_object(response, api_key)
        end
      end

      def self.included(base)
        base.extend(ClassMethods)
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
nurego-1.1.22 lib/nurego/api_operations/list.rb
nurego-1.1.21 lib/nurego/api_operations/list.rb
nurego-1.1.20 lib/nurego/api_operations/list.rb
nurego-1.1.19 lib/nurego/api_operations/list.rb
nurego-1.1.18 lib/nurego/api_operations/list.rb
nurego-1.1.17 lib/nurego/api_operations/list.rb
nurego-1.1.16 lib/nurego/api_operations/list.rb
nurego-1.1.15 lib/nurego/api_operations/list.rb
nurego-1.1.14 lib/nurego/api_operations/list.rb
nurego-1.1.13 lib/nurego/api_operations/list.rb
nurego-1.1.12 lib/nurego/api_operations/list.rb
nurego-1.1.11 lib/nurego/api_operations/list.rb
nurego-1.0.10 lib/nurego/api_operations/list.rb
nurego-1.0.9 lib/nurego/api_operations/list.rb
nurego-1.0.8 lib/nurego/api_operations/list.rb
nurego-1.0.7 lib/nurego/api_operations/list.rb
nurego-1.0.6 lib/nurego/api_operations/list.rb
nurego-1.0.5 lib/nurego/api_operations/list.rb
nurego-1.0.4 lib/nurego/api_operations/list.rb
nurego-1.0.1 lib/nurego/api_operations/list.rb