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(api_key, external_ids: nil, segment_id: nil, **options) ⇒ Object



4
5
6
7
8
# File 'lib/braze_ruby/rest/export_users.rb', line 4

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

  export_users_by_segment(api_key, segment_id, options) if segment_id
end