Class: AppnexusApi::SegmentService
- Defined in:
- lib/appnexusapi/segment_service.rb
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, #name, #plural_name, #resource_class, #update
Constructor Details
#initialize(connection, member_id) ⇒ SegmentService
Returns a new instance of SegmentService.
3 4 5 6 |
# File 'lib/appnexusapi/segment_service.rb', line 3 def initialize(connection, member_id) @member_id = member_id super(connection) end |
Instance Method Details
#uri_suffix ⇒ Object
8 9 10 |
# File 'lib/appnexusapi/segment_service.rb', line 8 def uri_suffix "#{super}/#{@member_id}" end |