Sha256: a47e9516f23e8b332643c10a51f8d7163fc47b05cb4b7a0f894b089576f353a6
Contents?: true
Size: 545 Bytes
Versions: 7
Compression:
Stored size: 545 Bytes
Contents
# frozen_string_literal: true module RubyLokaliseApi module Resources class Project < Base ID_KEY = 'project_id' supports :update, :destroy, [:reload_data, '', :find] def empty self.class.empty @client, "#{@path}/empty" end class << self def empty(client, path, *_args) put(path, client)['content'] end def endpoint(project_id = nil, action = nil) path_from projects: [project_id, action] end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems