Class: MockModel
- Defined in:
- lib/active_scaffold/bridges/file_column/test/mock_model.rb
Instance Attribute Summary collapse
-
#band_image ⇒ Object
Returns the value of attribute band_image.
-
#band_image_just_uploaded ⇒ Object
Returns the value of attribute band_image_just_uploaded.
-
#bio ⇒ Object
Returns the value of attribute bio.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
Instance Attribute Details
#band_image ⇒ Object
Returns the value of attribute band_image.
5 6 7 |
# File 'lib/active_scaffold/bridges/file_column/test/mock_model.rb', line 5 def band_image @band_image end |
#band_image_just_uploaded ⇒ Object
Returns the value of attribute band_image_just_uploaded.
6 7 8 |
# File 'lib/active_scaffold/bridges/file_column/test/mock_model.rb', line 6 def band_image_just_uploaded @band_image_just_uploaded end |
#bio ⇒ Object
Returns the value of attribute bio.
3 4 5 |
# File 'lib/active_scaffold/bridges/file_column/test/mock_model.rb', line 3 def bio @bio end |
#name ⇒ Object
Returns the value of attribute name.
2 3 4 |
# File 'lib/active_scaffold/bridges/file_column/test/mock_model.rb', line 2 def name @name end |
Instance Method Details
#band_image_just_uploaded? ⇒ Boolean
7 |
# File 'lib/active_scaffold/bridges/file_column/test/mock_model.rb', line 7 def band_image_just_uploaded?; self.band_image_just_uploaded ? true : false; end |