Sha256: bce0acde2699b44a4d85a5c8b1de952c8494c343ec49d83fed005cb49876d9cc

Contents?: true

Size: 342 Bytes

Versions: 3

Compression:

Stored size: 342 Bytes

Contents

# frozen_string_literal: true

module Lokalise
  module Collections
    class Segment < Base
      class << self
        def endpoint(project_id, key_id, lang_iso, *_args)
          path_from projects: project_id,
                    keys: key_id,
                    segments: lang_iso
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby-lokalise-api-5.0.0 lib/ruby-lokalise-api/collections/segment.rb
ruby-lokalise-api-4.5.1 lib/ruby-lokalise-api/collections/segment.rb
ruby-lokalise-api-4.5.0 lib/ruby-lokalise-api/collections/segment.rb