lib/trubl/api/touts.rb
# returns Array of Trubl::Tout instances or nil
returns Array of Trubl::Tout instances or nil
returns Array of Trubl :: Tout instances or nil
def filter_touts(params={}, options={})
        method_name = options[:method] == :post ? :post : :get
        response = send(method_name, "touts/filter", query: params)
        Trubl::Touts.new.from_response(response)
      end
def filter_touts ( params = { } , options = { } ) method_name = options [ :method ] == :post ? :post : :get response = send ( method_name , "touts/filter" , query : params ) Trubl :: Touts . new . from_response ( response ) end
returns Array of Trubl::Tout instances or nil
returns Array of Trubl :: Tout instances or nil
# post should be used when request params is large # TODO: abstract this logic out is needed in another place
params
options