lib/ruby-lokalise-api/collections/translation.rb in ruby-lokalise-api-1.1.0 vs lib/ruby-lokalise-api/collections/translation.rb in ruby-lokalise-api-2.0.0
- old
+ new
@@ -1,12 +1,10 @@
module Lokalise
module Collections
class Translation < Base
class << self
- private
-
def endpoint(project_id, *_args)
- "projects/#{project_id}/translations"
+ path_from projects: [project_id, 'translations']
end
end
end
end
end