Sha256: 23baa53169ede9a1da83e39f956836161509c2cde6414c57c451e0442d9a280c

Contents?: true

Size: 448 Bytes

Versions: 13

Compression:

Stored size: 448 Bytes

Contents

module Maestrano
  module API
    module Operation
      module List
        module ClassMethods
          def all(filters={}, api_token=nil)
            response, api_token = Maestrano::API::Operation::Base.request(:get, url, api_token, filters)
            Util.convert_to_maestrano_object(response, api_token)
          end
        end

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

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
maestrano-0.11.0 lib/maestrano/api/operation/list.rb
maestrano-0.10.0 lib/maestrano/api/operation/list.rb
maestrano-0.9.2 lib/maestrano/api/operation/list.rb
maestrano-0.9.1 lib/maestrano/api/operation/list.rb
maestrano-0.9.0 lib/maestrano/api/operation/list.rb
maestrano-ruby-test-0.8.3 lib/maestrano/api/operation/list.rb
maestrano-0.8.2 lib/maestrano/api/operation/list.rb
maestrano-0.8.1 lib/maestrano/api/operation/list.rb
maestrano-0.8.0 lib/maestrano/api/operation/list.rb
maestrano-0.7.0 lib/maestrano/api/operation/list.rb
maestrano-0.6.0 lib/maestrano/api/operation/list.rb
maestrano-0.5.0 lib/maestrano/api/operation/list.rb
maestrano-0.4.0 lib/maestrano/api/operation/list.rb