Sha256: b1dcb377fe2eef965388c3a6d2a67d40ddc6c6fb18f91b118baa9b286a26d3f8
Contents?: true
Size: 482 Bytes
Versions: 3
Compression:
Stored size: 482 Bytes
Contents
# frozen_string_literal: true module Lokalise module Resources class Project < Base supports :update, :destroy 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
3 entries across 3 versions & 1 rubygems