Sha256: f30ea28b9069115219646f9e326195a82a7cae79e5fb173472a9c2bb27a20881
Contents?: true
Size: 230 Bytes
Versions: 2
Compression:
Stored size: 230 Bytes
Contents
module Thanos class Thumbnail attr_reader :path, :extension, :full_path def initialize(data) @path = data['path'] @extension = data['extension'] @full_path = @path + '.' + @extension end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
thanos-0.6.0 | lib/thanos/resources/thumbnail.rb |
thanos-0.5.0 | lib/thanos/resources/thumbnail.rb |