Module: SynapseClient::APIOperations::List::ClassMethods

Defined in:
lib/synapse_client/api_operations/list.rb

Instance Method Summary collapse

Instance Method Details

#list(params = {}, list_action = "show") ⇒ Object



5
6
7
8
9
# File 'lib/synapse_client/api_operations/list.rb', line 5

def list(params={}, list_action="show")
  response = SynapseClient.request(:post, url + list_action, params)
  return response unless response.successful?
  response.data
end