Class: AvatarFile
- Inherits:
-
Models::BaseFile
- Object
- Models::BaseFile
- AvatarFile
- Defined in:
- app/models/avatar_file.rb
Instance Method Summary collapse
Instance Method Details
#build_path(name, version = nil) ⇒ Object
2 3 4 |
# File 'app/models/avatar_file.rb', line 2 def build_path name, version = nil "#{rad.models.fs['prefix']}/avatars" + build_standard_path(model.name, version) end |
#build_url(name, version = nil) ⇒ Object
6 7 8 |
# File 'app/models/avatar_file.rb', line 6 def build_url name, version = nil "#{rad.models.fs['host']}#{rad.models.fs['prefix']}/avatars" + build_standard_url(model.name, version) end |