Sha256: 217a8e4d7a476f45ad80905f3dbd94940fa3b123734e8f6c1352c6a7b93b10a8

Contents?: true

Size: 296 Bytes

Versions: 5

Compression:

Stored size: 296 Bytes

Contents

# encoding: utf-8

module Nimbu
  module Endpoints
    class Jobs < Endpoint

      def schedule(*args)
        arguments(args, :required => [:job_id])

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

    end # Simulator
  end # Endpoints
end # Nimbu

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
nimbu-api-0.4.4 lib/nimbu-api/endpoints/jobs.rb
nimbu-api-0.4.3 lib/nimbu-api/endpoints/jobs.rb
nimbu-api-0.4.2 lib/nimbu-api/endpoints/jobs.rb
nimbu-api-0.4.1 lib/nimbu-api/endpoints/jobs.rb
nimbu-api-0.4.0 lib/nimbu-api/endpoints/jobs.rb