Sha256: f7991a83269da292a4851ce1a37c3e1652e67e843c54a86d2176d7c71ca4259b
Contents?: true
Size: 315 Bytes
Versions: 2
Compression:
Stored size: 315 Bytes
Contents
module Rmega module Nodes class File < Node include Deletable include Downloadable def storage_url @storage_url ||= data['g'] || request(a: 'g', g: 1, n: handle)['g'] end def size data['s'] end def filesize size end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rmega-0.2.1 | lib/rmega/nodes/file.rb |
rmega-0.2.0 | lib/rmega/nodes/file.rb |