class Lokalise::Resources::Project

Public Class Methods

empty(client, path, *_args) click to toggle source
# File lib/ruby-lokalise-api/resources/project.rb, line 13
def empty(client, path, *_args)
  put(path, client)['content']
end
endpoint(project_id = nil, action = nil) click to toggle source
# File lib/ruby-lokalise-api/resources/project.rb, line 17
def endpoint(project_id = nil, action = nil)
  path_from projects: [project_id, action]
end

Public Instance Methods

empty() click to toggle source
# File lib/ruby-lokalise-api/resources/project.rb, line 8
def empty
  self.class.empty @client, "#{@path}/empty"
end