Class: RademadeAdmin::Model::Info::Uploader
- Inherits:
-
Object
- Object
- RademadeAdmin::Model::Info::Uploader
- Defined in:
- lib/rademade_admin/model/info/uploader.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#uploader ⇒ Object
readonly
Returns the value of attribute uploader.
Instance Method Summary collapse
-
#initialize(name, uploader) ⇒ Uploader
constructor
A new instance of Uploader.
Constructor Details
#initialize(name, uploader) ⇒ Uploader
Returns a new instance of Uploader.
9 10 11 |
# File 'lib/rademade_admin/model/info/uploader.rb', line 9 def initialize(name, uploader) @name, @uploader = name, uploader end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
7 8 9 |
# File 'lib/rademade_admin/model/info/uploader.rb', line 7 def name @name end |
#uploader ⇒ Object (readonly)
Returns the value of attribute uploader.
7 8 9 |
# File 'lib/rademade_admin/model/info/uploader.rb', line 7 def uploader @uploader end |