Sha256: 160f28cdccb1a6ea055aa5c3ad971ed85197caa2035c51320b6b88013dafb6e6
Contents?: true
Size: 463 Bytes
Versions: 56
Compression:
Stored size: 463 Bytes
Contents
module Shelly class Backup < Model attr_reader :filename, :size, :human_size, :code_name, :kind def initialize(attributes = {}) @filename = attributes["filename"] @size = attributes["size"] @human_size = attributes["human_size"] @code_name = attributes["code_name"] @kind = attributes["kind"] end def download(callback) shelly.download_backup(code_name, filename, callback) end end end
Version data entries
56 entries across 56 versions & 1 rubygems