Sha256: fe1f5a647790124a08c4cd2f34c9f02f84fa308c2898951a1f0af9c35563c5c0

Contents?: true

Size: 314 Bytes

Versions: 1

Compression:

Stored size: 314 Bytes

Contents

# encoding: utf-8
# frozen_string_literal: true

module Nimbu
  module Endpoints
    class Jobs < Endpoint
      def schedule(*args)
        arguments(args, required: [:job_id])

        post_request("/jobs/#{job_id}", arguments.params)
        response
      end
    end # Simulator
  end # Endpoints
end # Nimbu

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nimbu-api-0.5.0 lib/nimbu-api/endpoints/jobs.rb