Sha256: 9d483377fe4ab8279f60751b7d8e863de6a3524ff660662a9090ffa3d5488e17

Contents?: true

Size: 426 Bytes

Versions: 3

Compression:

Stored size: 426 Bytes

Contents

# frozen_string_literal: true

module Lokalise
  module Resources
    class KeyComment < Base
      DATA_KEY = 'Comment'
      ID_KEY = 'comment'
      supports :destroy

      class << self
        def endpoint(project_id, key_id, comment_id = nil)
          path_from projects: project_id,
                    keys: key_id,
                    comments: comment_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/key_comment.rb
ruby-lokalise-api-2.9.0.1 lib/ruby-lokalise-api/resources/key_comment.rb
ruby-lokalise-api-2.9.0 lib/ruby-lokalise-api/resources/key_comment.rb