Module: Maestrano::API::Operation::List::ClassMethods

Defined in:
lib/maestrano/api/operation/list.rb

Instance Method Summary collapse

Instance Method Details

#all(filters = {}, api_token = nil) ⇒ Object



6
7
8
9
# File 'lib/maestrano/api/operation/list.rb', line 6

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