Module: Lipsiadmin::DataBase::ClassMethods
- Defined in:
- lib/data_base/attachment_table.rb
Overview
:nodoc:
Instance Method Summary collapse
- #attachment_background(background) ⇒ Object
- #attachment_convert_options(name, convert_options) ⇒ Object
- #attachment_default_style(default_style) ⇒ Object
- #attachment_default_url(url) ⇒ Object
- #attachment_path(path) ⇒ Object
- #attachment_processors(processors) ⇒ Object
- #attachment_storage(storage) ⇒ Object
- #attachment_styles(name, styles) ⇒ Object
- #attachment_url(url) ⇒ Object
- #attachment_whiny(whiny_thumbnails) ⇒ Object
- #validates_attachment_content_type(options = {}) ⇒ Object
- #validates_attachment_presence(options = {}) ⇒ Object
- #validates_attachment_size(options = {}) ⇒ Object
- #validates_attachment_thumbnails(options = {}) ⇒ Object
Instance Method Details
#attachment_background(background) ⇒ Object
116 117 118 |
# File 'lib/data_base/attachment_table.rb', line 116 def (background) (self.name, background) end |
#attachment_convert_options(name, convert_options) ⇒ Object
112 113 114 |
# File 'lib/data_base/attachment_table.rb', line 112 def (name, ) (self.name, name, ) end |
#attachment_default_style(default_style) ⇒ Object
100 101 102 |
# File 'lib/data_base/attachment_table.rb', line 100 def (default_style) (self.name, default_style) end |
#attachment_default_url(url) ⇒ Object
88 89 90 |
# File 'lib/data_base/attachment_table.rb', line 88 def (url) (self.name, url) end |
#attachment_path(path) ⇒ Object
92 93 94 |
# File 'lib/data_base/attachment_table.rb', line 92 def (path) (self.name, path) end |
#attachment_processors(processors) ⇒ Object
120 121 122 |
# File 'lib/data_base/attachment_table.rb', line 120 def (processors) (self.name, processors) end |
#attachment_storage(storage) ⇒ Object
108 109 110 |
# File 'lib/data_base/attachment_table.rb', line 108 def (storage) (self.name, storage) end |
#attachment_styles(name, styles) ⇒ Object
96 97 98 |
# File 'lib/data_base/attachment_table.rb', line 96 def (name, styles) (self.name, name, styles) end |
#attachment_url(url) ⇒ Object
84 85 86 |
# File 'lib/data_base/attachment_table.rb', line 84 def (url) (self.name, url) end |
#attachment_whiny(whiny_thumbnails) ⇒ Object
104 105 106 |
# File 'lib/data_base/attachment_table.rb', line 104 def (whiny_thumbnails) (self.name, whiny_thumbnails) end |
#validates_attachment_content_type(options = {}) ⇒ Object
136 137 138 |
# File 'lib/data_base/attachment_table.rb', line 136 def ( = {}) (self.name, ) end |
#validates_attachment_presence(options = {}) ⇒ Object
132 133 134 |
# File 'lib/data_base/attachment_table.rb', line 132 def ( = {}) (self.name, ) end |
#validates_attachment_size(options = {}) ⇒ Object
124 125 126 |
# File 'lib/data_base/attachment_table.rb', line 124 def ( = {}) (self.name, ) end |
#validates_attachment_thumbnails(options = {}) ⇒ Object
128 129 130 |
# File 'lib/data_base/attachment_table.rb', line 128 def ( = {}) (self.name, ) end |