Class: TaboolaApi::Resources::Account

Inherits:
Base
  • Object
show all
Defined in:
lib/taboola_api/resources/account.rb

Instance Attribute Summary

Attributes inherited from Base

#client

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from TaboolaApi::Resources::Base

Instance Method Details

#list_allObject



4
5
6
7
# File 'lib/taboola_api/resources/account.rb', line 4

def list_all
  response = client.request(:get, "users/current/allowed-accounts")
  response.body
end