Class: Maventa::Companies

Inherits:
Resource show all
Defined in:
lib/maventa/companies.rb

Instance Method Summary collapse

Methods inherited from Resource

#initialize

Constructor Details

This class inherits a constructor from Maventa::Resource

Instance Method Details

#authorizeObject



11
12
13
# File 'lib/maventa/companies.rb', line 11

def authorize
	raise "Not implemented"
end

#createObject



7
8
9
# File 'lib/maventa/companies.rb', line 7

def create
	raise "Not implemented"
end

#listObject



3
4
5
# File 'lib/maventa/companies.rb', line 3

def list
	request(:get, "/v1/companies/")
end

#status(id) ⇒ Object



15
16
17
# File 'lib/maventa/companies.rb', line 15

def status(id)
	request(:get, "/v1/companies/#{id}/status")
end