Sha256: d4e9801e2fea4528834177124e4d911c28c7375669f9d6007731cf0d140df433

Contents?: true

Size: 930 Bytes

Versions: 11

Compression:

Stored size: 930 Bytes

Contents

# frozen_string_literal: true

module Lokalise
  class Client
    # Returns all queued processes for the given project
    #
    # @see https://app.lokalise.com/api2docs/curl/#transition-list-all-processes-get
    # @return [Lokalise::Collection::QueuedProcess<Lokalise::Resources::QueuedProcess>]
    # @param project_id [String]
    # @param params [Hash]
    def queued_processes(project_id, params = {})
      c_r Lokalise::Collections::QueuedProcess, :all, project_id, params
    end

    # Returns a queued process for the given project
    #
    # @see https://app.lokalise.com/api2docs/curl/#transition-retrieve-a-process-get
    # @return [Lokalise::Resources::QueuedProcess]
    # @param project_id [String]
    # @param process_id [String]
    def queued_process(project_id, process_id)
      c_r Lokalise::Resources::QueuedProcess, :find,
          [project_id, process_id]
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ruby-lokalise-api-5.0.0 lib/ruby-lokalise-api/rest/queued_processes.rb
ruby-lokalise-api-4.5.1 lib/ruby-lokalise-api/rest/queued_processes.rb
ruby-lokalise-api-4.5.0 lib/ruby-lokalise-api/rest/queued_processes.rb
ruby-lokalise-api-4.4.0 lib/ruby-lokalise-api/rest/queued_processes.rb
ruby-lokalise-api-4.3.1 lib/ruby-lokalise-api/rest/queued_processes.rb
ruby-lokalise-api-4.3.0 lib/ruby-lokalise-api/rest/queued_processes.rb
ruby-lokalise-api-4.2.0 lib/ruby-lokalise-api/rest/queued_processes.rb
ruby-lokalise-api-4.1.0 lib/ruby-lokalise-api/rest/queued_processes.rb
ruby-lokalise-api-4.0.0 lib/ruby-lokalise-api/rest/queued_processes.rb
ruby-lokalise-api-3.1.0 lib/ruby-lokalise-api/rest/queued_processes.rb
ruby-lokalise-api-3.0.0 lib/ruby-lokalise-api/rest/queued_processes.rb