Sha256: 3066b8d1596d2959687a6df147fb6a3572d9de42d2603c9077f283d021b889f2

Contents?: true

Size: 310 Bytes

Versions: 1

Compression:

Stored size: 310 Bytes

Contents

module SimpleSegment
  module Operations
    class Identify < Operation
      def call
        request.post('/v1/identify', build_payload)
      end

      def build_payload
        base_payload.merge(
          traits: options[:traits] && isoify_dates!(options[:traits])
        )
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
simple_segment-0.3.0 lib/simple_segment/operations/identify.rb