Class: MockModel
- Inherits:
-
Object
- Object
- MockModel
- Defined in:
- lib/active_scaffold/bridges/file_column/test/mock_model.rb
Instance Attribute Summary (collapse)
-
- (Object) band_image
Returns the value of attribute band_image.
-
- (Object) band_image_just_uploaded
Returns the value of attribute band_image_just_uploaded.
-
- (Object) bio
Returns the value of attribute bio.
-
- (Object) name
Returns the value of attribute name.
Instance Method Summary (collapse)
Instance Attribute Details
- (Object) band_image
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 |
- (Object) band_image_just_uploaded
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 |
- (Object) bio
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 |
- (Object) name
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
- (Boolean) band_image_just_uploaded?
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 |