class Iterable::JsonExporter
Subclass of [Iterable::Export] for JSON exporting of data
@example Creating a JSON Exporter
# With default config exporter = Iterable::JsonExporter.new Iterable::Export::EMAIL_SEND_TYPE exporter.export # With custom config conf = Iterable::Config.new(token: 'new-token') exporter = Iterable::JsonExporter.new(Iterable::Export::EMAIL_SEND_TYPE, nil, nil, nil, config)
Public Instance Methods
format()
click to toggle source
Format to use for exporting
@return [String] Format of export
# File lib/iterable/json_exporter.rb, line 19 def format 'json' end