Sha256: a186235c596ae5194fba9f6824bcb2ba7eb6886a85a25c70b8b7a5fa73d18a8e

Contents?: true

Size: 144 Bytes

Versions: 45

Compression:

Stored size: 144 Bytes

Contents

class Image < Obj
  attribute :blob, :binary

  # activate image resizing and optimization
  def apply_image_transformation?
    true
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
scrivito_sdk-1.5.5 lib/generators/scrivito/install/templates/app/models/image.rb
scrivito_sdk-1.5.5.rc1 lib/generators/scrivito/install/templates/app/models/image.rb
scrivito_sdk-1.4.3 lib/generators/scrivito/install/templates/app/models/image.rb
scrivito_sdk-1.5.4 lib/generators/scrivito/install/templates/app/models/image.rb
scrivito_sdk-1.5.4.rc1 lib/generators/scrivito/install/templates/app/models/image.rb
scrivito_sdk-1.5.3 lib/generators/scrivito/install/templates/app/models/image.rb
scrivito_sdk-1.5.3.rc1 lib/generators/scrivito/install/templates/app/models/image.rb
scrivito_sdk-1.5.2 lib/generators/scrivito/install/templates/app/models/image.rb
scrivito_sdk-1.5.2.rc1 lib/generators/scrivito/install/templates/app/models/image.rb
scrivito_sdk-1.5.1 lib/generators/scrivito/install/templates/app/models/image.rb
scrivito_sdk-1.5.1.rc2 lib/generators/scrivito/install/templates/app/models/image.rb
scrivito_sdk-1.5.1.rc1 lib/generators/scrivito/install/templates/app/models/image.rb
scrivito_sdk-1.5.0 lib/generators/scrivito/install/templates/app/models/image.rb
scrivito_sdk-1.5.0.rc2 lib/generators/scrivito/install/templates/app/models/image.rb
scrivito_sdk-1.5.0.rc1 lib/generators/scrivito/install/templates/app/models/image.rb
scrivito_sdk-1.4.2 lib/generators/scrivito/install/templates/app/models/image.rb
scrivito_sdk-1.4.1 lib/generators/scrivito/install/templates/app/models/image.rb
scrivito_sdk-1.4.1.rc1 lib/generators/scrivito/install/templates/app/models/image.rb
scrivito_sdk-1.4.0 lib/generators/scrivito/install/templates/app/models/image.rb
scrivito_sdk-1.4.0.rc2 lib/generators/scrivito/install/templates/app/models/image.rb