Sha256: 974df779cc15df190be2202f43b08a4940ddc40dd2a8485b6e2be9109e49ee04

Contents?: true

Size: 494 Bytes

Versions: 7

Compression:

Stored size: 494 Bytes

Contents

require_relative 'resolution_event'


class LagottoJob
  include SuckerPunch::Job
  include Kishu::Utils
  workers 4 



  def perform(report, options={})
    # data = format_instance event, options

    # push_url = LAGOTTINO_URL  + "/events"
    # response =  Maremma.post(push_url, data: data.to_json,
    #               bearer: LAGOTTINO_TOKEN,
    #               content_type: 'application/vnd.api+json')
    # puts data
    # puts response.status
    Report.send_report report
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
kishu-1.0.4 lib/kishu/lagotto_job.rb
kishu-1.0.3 lib/kishu/lagotto_job.rb
kishu-1.0.2 lib/kishu/lagotto_job.rb
kishu-1.0.1 lib/kishu/lagotto_job.rb
kishu-1.0.0 lib/kishu/lagotto_job.rb
kishu-0.0.1 lib/kishu/lagotto_job.rb
kishu-0.0.0 lib/kishu/lagotto_job.rb