Class: Urbanairship::Devices::SegmentList

Inherits:
Common::PageIterator show all
Includes:
Common
Defined in:
lib/urbanairship/devices/segment.rb

Constant Summary

Constants included from Common

Common::CONTENT_TYPE

Instance Attribute Summary

Attributes inherited from Common::PageIterator

#data_attribute

Instance Method Summary collapse

Methods included from Common

#apid_path, #channel_path, #compact_helper, #create_and_send_path, #custom_events_path, #device_token_path, #experiments_path, #lists_path, #named_users_path, #open_channel_path, #pipelines_path, #push_path, #reports_path, #required, #schedules_path, #segments_path, #tag_lists_path, #try_helper

Methods inherited from Common::PageIterator

#count, #each

Methods included from Loggable

create_logger, logger, #logger

Constructor Details

#initialize(client: required('client')) ⇒ SegmentList

Returns a new instance of SegmentList.



97
98
99
100
101
# File 'lib/urbanairship/devices/segment.rb', line 97

def initialize(client: required('client'))
  super(client: client)
  @next_page_path = segments_path
  @data_attribute = 'segments'
end