lib/ruby_lokalise_api/rest/segments.rb in ruby-lokalise-api-6.0.0 vs lib/ruby_lokalise_api/rest/segments.rb in ruby-lokalise-api-6.1.0
- old
+ new
@@ -3,11 +3,11 @@
module RubyLokaliseApi
module Rest
module Segments
# Returns all segments for the given key and language ISO code
#
- # @see https://app.lokalise.com/api2docs/curl/#transition-list-all-segments-for-key-language-get
+ # @see https://developers.lokalise.com/reference/list-all-segments-for-key-language
# @return [RubyLokaliseApi::Collection::Segments<RubyLokaliseApi::Resources::Segment>]
# @param project_id [String]
# @param key_id [String, Integer]
# @param lang_iso [String]
# @param params [Hash]
@@ -15,11 +15,11 @@
c_r RubyLokaliseApi::Collections::Segment, :all, [project_id, key_id, lang_iso], params
end
# Returns a segment under a given number for the given key and language ISO code
#
- # @see https://app.lokalise.com/api2docs/curl/#transition-retrieve-a-segment-for-key-language-get
+ # @see https://developers.lokalise.com/reference/retrieve-a-segment-for-key-language
# @return [RubyLokaliseApi::Resources::Segment]
# @param project_id [String]
# @param key_id [String, Integer]
# @param lang_iso [String]
# @params segment_number [Integer, String]
@@ -28,10 +28,10 @@
c_r RubyLokaliseApi::Resources::Segment, :find, [project_id, key_id, lang_iso, segment_number], params
end
# Updates a segment under a given number for the given key and language ISO code
#
- # @see https://app.lokalise.com/api2docs/curl/#transition-update-a-segment-post
+ # @see https://developers.lokalise.com/reference/update-a-segment
# @return [RubyLokaliseApi::Resources::Segment]
# @param project_id [String]
# @param key_id [String, Integer]
# @param lang_iso [String]
# @params segment_number [Integer, String]