Skip to content

Instantly share code, notes, and snippets.

@Maroo-b
Maroo-b / twilio_call_exporter.rb
Created August 23, 2018 08:12
Twilio call logs exporter
require "csv"
class TwilioCallExporter
DATE_FORMAT = "%Y-%m-%d %H:%M UTC"
attr_reader :to_phone_number, :start_date
def initialize(to_phone_number:, start_date:)
@to_phone_number = to_phone_number
@start_date = start_date
end