Class: BrazeRuby::REST::ExportUsers

Inherits:
Base
  • Object
show all
Defined in:
lib/braze_ruby/rest/export_users.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from BrazeRuby::REST::Base

Instance Method Details

#perform(external_ids: nil, segment_id: nil, **options) ⇒ Object



6
7
8
9
10
# File 'lib/braze_ruby/rest/export_users.rb', line 6

def perform(external_ids: nil, segment_id: nil, **options)
  return export_users_by_ids(external_ids, options) if external_ids

  export_users_by_segment(segment_id, options) if segment_id
end