Sha256: 8de9cab23f462f27a031f007f2e592b4726fe88fe426c1d513e71ffdf9fe18df

Contents?: true

Size: 350 Bytes

Versions: 9

Compression:

Stored size: 350 Bytes

Contents

# frozen_string_literal: true

module ActionTracker
  module Workers
    class Test
      attr_reader :form

      def initialize(form)
        @form = form
      end

      def perform
        ActionTracker.records.append(params)

        params
      end

      private

      def params
        form.present_attributes
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
action_tracker_client-0.1.8 lib/action_tracker/workers/test.rb
action_tracker_client-0.1.7 lib/action_tracker/workers/test.rb
action_tracker_client-0.1.6 lib/action_tracker/workers/test.rb
action_tracker_client-0.1.5 lib/action_tracker/workers/test.rb
action_tracker_client-0.1.4 lib/action_tracker/workers/test.rb
action_tracker_client-0.1.3 lib/action_tracker/workers/test.rb
action_tracker_client-0.1.2 lib/action_tracker/workers/test.rb
action_tracker_client-0.1.1 lib/action_tracker/workers/test.rb
action_tracker_client-0.1.0 lib/action_tracker/workers/test.rb