Sha256: a04a06a3cc29fa588c8bf7107fb811f59027296207353630828cd737e54940ca
Contents?: true
Size: 491 Bytes
Versions: 5
Compression:
Stored size: 491 Bytes
Contents
# frozen_string_literal: true module RudderAnalyticsSync module Operations class Screen < Operation def call request.post('/v1/screen', build_payload) end def build_payload properties = (options[:properties] && isoify_dates!(options[:properties])) || {} base_payload.merge( name: options[:name], event: options[:name], properties: properties.merge({name: options[:name]}) ) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems