class RudderAnalyticsSync::Operations::Screen
Public Instance Methods
build_payload()
click to toggle source
# File lib/rudder_analytics_sync/operations/screen.rb, line 10 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
call()
click to toggle source
# File lib/rudder_analytics_sync/operations/screen.rb, line 6 def call request.post('/v1/screen', build_payload) end