Sha256: 8869c88ba243d0688b50203951201ab736f52c7414ffc0e6aebe90a5952d8613

Contents?: true

Size: 323 Bytes

Versions: 3

Compression:

Stored size: 323 Bytes

Contents

# frozen_string_literal: true

module Lokalise
  module Resources
    class Task < Base
      supports :update, :destroy

      class << self
        def endpoint(project_id, task_id = nil)
          path_from projects: project_id,
                    tasks: task_id
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby-lokalise-api-2.10.0 lib/ruby-lokalise-api/resources/task.rb
ruby-lokalise-api-2.9.0.1 lib/ruby-lokalise-api/resources/task.rb
ruby-lokalise-api-2.9.0 lib/ruby-lokalise-api/resources/task.rb