Sha256: b33762668af6e25ad6e99aade359cd289b23878a8714ea0ce44226b963b53362

Contents?: true

Size: 461 Bytes

Versions: 22

Compression:

Stored size: 461 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[self.preset].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

22 entries across 22 versions & 1 rubygems

Version Path
maestrano-1.0.6 lib/maestrano/api/operation/list.rb
maestrano-1.0.5 lib/maestrano/api/operation/list.rb
maestrano-1.0.4 lib/maestrano/api/operation/list.rb
maestrano-1.0.3 lib/maestrano/api/operation/list.rb
maestrano-1.0.2 lib/maestrano/api/operation/list.rb
maestrano-1.0.1 lib/maestrano/api/operation/list.rb
maestrano-1.0.0 lib/maestrano/api/operation/list.rb
maestrano-1.0.0.pre.RC9 lib/maestrano/api/operation/list.rb
maestrano-1.0.0.pre.RC8 lib/maestrano/api/operation/list.rb
maestrano-1.0.0.pre.RC7 lib/maestrano/api/operation/list.rb
maestrano-1.0.0.pre.RC6 lib/maestrano/api/operation/list.rb
maestrano-1.0.0.pre.RC5 lib/maestrano/api/operation/list.rb
maestrano-1.0.0.pre.RC4 lib/maestrano/api/operation/list.rb
maestrano-1.0.0.pre.RC3 lib/maestrano/api/operation/list.rb
maestrano-1.0.0.pre.RC2 lib/maestrano/api/operation/list.rb
maestrano-1.0.0.pre.RC1 lib/maestrano/api/operation/list.rb
maestrano-0.12.5 lib/maestrano/api/operation/list.rb
maestrano-0.12.4 lib/maestrano/api/operation/list.rb
maestrano-0.12.3 lib/maestrano/api/operation/list.rb
maestrano-0.12.2 lib/maestrano/api/operation/list.rb