Class: AppnexusApi::ObjectLimitService

Inherits:
Service
  • Object
show all
Defined in:
lib/appnexusapi/object_limit_service.rb

Constant Summary

Constants inherited from Service

Service::DEFAULT_NUMBER_OF_ELEMENTS

Instance Method Summary collapse

Methods inherited from Service

#create, #delete, #get, #get_all, #initialize, #name, #parse_response, #plural_name, #plural_uri_name, #resource_class, #resource_name, #update, #uri_name, #uri_suffix

Constructor Details

This class inherits a constructor from AppnexusApi::Service

Instance Method Details

#creative_limitsObject



2
3
4
# File 'lib/appnexusapi/object_limit_service.rb', line 2

def creative_limits
  get(object_type: 'creative').first
end

#domain_list_limitsObject



10
11
12
# File 'lib/appnexusapi/object_limit_service.rb', line 10

def domain_list_limits
  get(object_type: 'domain_list').first
end

#profile_limitsObject



6
7
8
# File 'lib/appnexusapi/object_limit_service.rb', line 6

def profile_limits
  get(object_type: 'profile').first
end