Class: OneSignal::Commands::CsvExport

Inherits:
BaseCommand show all
Defined in:
lib/onesignal/commands/csv_export.rb

Instance Method Summary collapse

Methods inherited from BaseCommand

#client, #config

Constructor Details

#initialize(params) ⇒ CsvExport

Returns a new instance of CsvExport.



6
7
8
# File 'lib/onesignal/commands/csv_export.rb', line 6

def initialize params
  @params = params || {}
end

Instance Method Details

#callObject



10
11
12
# File 'lib/onesignal/commands/csv_export.rb', line 10

def call
  client.csv_export @params
end