Class: Nova::API::Resource::Company
- Inherits:
-
Base
show all
- Defined in:
- lib/nova/api/resource/company.rb
Constant Summary
collapse
- ALLOWED_ATTRIBUTES =
%i[]
Constants inherited
from Base
Base::PRODUCTION_HOST, Base::SCHEME, Base::STAGING_HOST
Utils::BaseStruct::DATE_REGEX
Class Method Summary
collapse
Methods inherited from Base
base_url, #endpoint
#allowed_attributes
Class Method Details
.endpoint ⇒ Object
18
19
20
|
# File 'lib/nova/api/resource/company.rb', line 18
def self.endpoint
'/api/companies'
end
|
.list ⇒ Object
22
23
24
|
# File 'lib/nova/api/resource/company.rb', line 22
def self.list
do_get_search(endpoint, nil)
end
|