Sha256: 5c2d6c6f5c705fef8ba0c5228e8974cf1a15f1750f9042fbab0b885b88d39f4a

Contents?: true

Size: 588 Bytes

Versions: 14

Compression:

Stored size: 588 Bytes

Contents

class <%= name.classify %> < ActiveRecord::Base

  acts_as_cloudhdr :thumbnail_class => "<%= name.classify %>Thumbnail", 
    :thumbnails => [
      {:label=>"small",:width=>100,:height=>100 },
      {:label=>"medium",:width=>400,:height=>400, 
        :frame=>{ :width=>20, :bottom=>50, :color=>'003' }, 
        :annotations=>[
                        {:text=>"Annotation Testing",:pointsize=>30,:fill_color=>'fff',:gravity=>"South",:y=>10},
                        {:text=>"Howdy!",:pointsize=>10,:fill_color=>'ccc',:gravity=>"North",:y=>5}
                      ] 
      }
    ]

end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
cloudhdr_rails-0.0.14 lib/generators/cloudhdr_rails/templates/model.rb
cloudhdr_rails-0.0.13 lib/generators/cloudhdr_rails/templates/model.rb
cloudhdr_rails-0.0.12 lib/generators/cloudhdr_rails/templates/model.rb
cloudhdr_rails-0.0.11 lib/generators/cloudhdr_rails/templates/model.rb
cloudhdr_rails-0.0.10 lib/generators/cloudhdr_rails/templates/model.rb
cloudhdr_rails-0.0.9 lib/generators/cloudhdr_rails/templates/model.rb
cloudhdr_rails-0.0.8 lib/generators/cloudhdr_rails/templates/model.rb
cloudhdr_rails-0.0.7 lib/generators/cloudhdr_rails/templates/model.rb
cloudhdr_rails-0.0.6 lib/generators/cloudhdr_rails/templates/model.rb
cloudhdr_rails-0.0.5 lib/generators/cloudhdr_rails/templates/model.rb
cloudhdr_rails-0.0.4 lib/generators/cloudhdr_rails/templates/model.rb
cloudhdr_rails-0.0.3 lib/generators/cloudhdr_rails/templates/model.rb
cloudhdr_rails-0.0.2 lib/generators/cloudhdr_rails/templates/model.rb
cloudhdr_rails-0.0.1 lib/generators/cloudhdr_rails/templates/model.rb