forked from spen/seminar
9 lines
366 B
Ruby
9 lines
366 B
Ruby
class CustomAlbumSetting
|
|
include Mongoid::Document
|
|
include Mongoid::Timestamps
|
|
field :limit
|
|
field :resize_gravity, type: String, default: 'center'
|
|
ResizeGravities = %w[Center NorthWest North NorthEast West East SouthWest South SouthEast]
|
|
field :custom_album_card_background_color, default: ''
|
|
field :custom_album_card_text_color, default: '#000000'
|
|
end |