cartodb/lib/carto/tracking/formats/hubspot.rb

16 lines
245 B
Ruby
Raw Normal View History

2020-06-15 10:58:47 +08:00
module Carto
module Tracking
module Formats
class Hubspot
def initialize(email: nil)
@email = email
end
def to_hash
@email ? { email: @email } : {}
end
end
end
end
end