Sha256: dfb419859c8b4ba3542bcd54682c847d8c6c1396aef65540571901e95d0853db
Contents?: true
Size: 417 Bytes
Versions: 5
Compression:
Stored size: 417 Bytes
Contents
module Jackie class Version < Base cattr_accessor :uploader, :instance_writer => false class << self def set_uploader(uploader) self.uploader = uploader end end def preview_url "http://kickfolio.com/v/#{app_id}/version/#{id}" end def save self.bundle_url = uploader.upload(attributes["file"]) if attributes["file"] && uploader super end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
jackie-0.2.0 | lib/jackie/version.rb |
jackie-0.1.2 | lib/jackie/version.rb |
jackie-0.1.1 | lib/jackie/version.rb |
jackie-0.1.0 | lib/jackie/version.rb |
jackie-0.0.3 | lib/jackie/version.rb |