Class: Attachs::Types::Default
- Defined in:
- lib/attachs/types/default.rb
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Attachs::Types::Base
Instance Method Details
#image? ⇒ Boolean
9 10 11 |
# File 'lib/attachs/types/default.rb', line 9 def image? false end |
#url(*args) ⇒ Object
13 14 15 16 17 |
# File 'lib/attachs/types/default.rb', line 13 def url(*args) if .default? storage.url *args end end |