Class: AppnexusApi::BidderProfileService

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

Constant Summary

Constants inherited from Service

Service::DEFAULT_NUMBER_OF_ELEMENTS

Instance Method Summary collapse

Methods inherited from Service

#create, #get, #get_all, #plural_name, #plural_uri_name, #update, #uri_name

Constructor Details

#initialize(connection, bidder_id) ⇒ BidderProfileService

Returns a new instance of BidderProfileService.



2
3
4
5
# File 'lib/appnexusapi/services/bidder_profile_service.rb', line 2

def initialize(connection, bidder_id)
  @bidder_id = bidder_id
  super(connection)
end

Instance Method Details

#delete(id) ⇒ Object



15
16
17
# File 'lib/appnexusapi/services/bidder_profile_service.rb', line 15

def delete(id)
  raise AppnexusApi::NotImplemented
end

#nameObject



7
8
9
# File 'lib/appnexusapi/services/bidder_profile_service.rb', line 7

def name
  "profile"
end

#uri_suffixObject



11
12
13
# File 'lib/appnexusapi/services/bidder_profile_service.rb', line 11

def uri_suffix
  "profile/#{@bidder_id}"
end