Class: LeanTesting::UserOrganizationsHandler

Inherits:
EntityHandler show all
Defined in:
lib/Handler/User/UserOrganizationsHandler.rb

Instance Method Summary collapse

Methods inherited from EntityHandler

#create, #delete, #find, #initialize, #update

Constructor Details

This class inherits a constructor from LeanTesting::EntityHandler

Instance Method Details

#all(filters = nil) ⇒ Object



4
5
6
7
8
9
10
11
12
13
# File 'lib/Handler/User/UserOrganizationsHandler.rb', line 4

def all(filters = nil)
	if !filters
		filters = {}
	end

	super

	request = APIRequest.new(@origin, '/v1/me/organizations', 'GET')
	EntityList.new(@origin, request, UserOrganization, filters)
end