Method: Marchex::Marchexapi#user_list

Defined in:
lib/marchex.rb

#user_list(account_id) ⇒ Object



46
47
48
49
# File 'lib/marchex.rb', line 46

def user_list()
 response = parse_json(RestClient.post(@url, {'jsonrpc' => '2.0', 'id' => '1', 'method' => 'user.list', 'params' => []}.to_json, :content_type => 'application/json', :accept => 'application/json', :Authorization => @auth))
 return response.body["result"]
end