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
17 18 19 |
# File 'lib/attachs/types/default.rb', line 17 def image? false end |
#url(*args) ⇒ Object
21 22 23 24 25 |
# File 'lib/attachs/types/default.rb', line 21 def url(*args) if .default? storage.url *args end end |