Sha256: e0c1dc6126d0450a0ed43499c99e59c3d3090f03b3e0613263b9096f3bc14487
Contents?: true
Size: 493 Bytes
Versions: 12
Compression:
Stored size: 493 Bytes
Contents
module Lokalise module Resources class Snapshot < Base supports :destroy def restore self.class.restore @client, @path end class << self def restore(client, path, *_args) Lokalise::Resources::Project.new post(path, client) end def endpoint(project_id, snapshot_id = nil) path_from projects: project_id, snapshots: snapshot_id end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems