Class: AppnexusApi::SegmentService

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

Constant Summary

Constants inherited from Service

AppnexusApi::Service::DEFAULT_NUMBER_OF_ELEMENTS

Instance Method Summary collapse

Methods inherited from Service

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

Constructor Details

#initialize(connection, member_id) ⇒ SegmentService

Returns a new instance of SegmentService.



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

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

Instance Method Details

#uri_suffixObject



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

def uri_suffix
  "#{super}/#{@member_id}"
end