Class: AppnexusApi::SegmentService
- Defined in:
- lib/appnexusapi/services/segment_service.rb
Constant Summary
Constants inherited from Service
AppnexusApi::Service::DEFAULT_NUMBER_OF_ELEMENTS
Instance Method Summary collapse
-
#initialize(connection, member_id) ⇒ SegmentService
constructor
A new instance of SegmentService.
- #uri_suffix ⇒ Object
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_suffix ⇒ Object
7 8 9 |
# File 'lib/appnexusapi/services/segment_service.rb', line 7 def uri_suffix "#{super}/#{@member_id}" end |