nebulab/cangaroo

View on GitHub
app/jobs/cangaroo/push_job.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Cangaroo
  class PushJob < BaseJob
    def perform(*)
      restart_flow(connection_request)
    end

    def perform?
      fail NotImplementedError
    end

    def transform
      { type.singularize => payload }
    end
  end
end