Class: MockModel

Inherits:
Object show all
Defined in:
lib/six-updater-web/vendor/plugins/active_scaffold/lib/bridges/file_column/test/mock_model.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#band_imageObject

Returns the value of attribute band_image.



5
6
7
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/lib/bridges/file_column/test/mock_model.rb', line 5

def band_image
  @band_image
end

#band_image_just_uploadedObject

Returns the value of attribute band_image_just_uploaded.



6
7
8
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/lib/bridges/file_column/test/mock_model.rb', line 6

def band_image_just_uploaded
  @band_image_just_uploaded
end

#bioObject

Returns the value of attribute bio.



3
4
5
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/lib/bridges/file_column/test/mock_model.rb', line 3

def bio
  @bio
end

#nameObject

Returns the value of attribute name.



2
3
4
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/lib/bridges/file_column/test/mock_model.rb', line 2

def name
  @name
end

Instance Method Details

#band_image_just_uploaded?Boolean

Returns:

  • (Boolean)


7
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/lib/bridges/file_column/test/mock_model.rb', line 7

def band_image_just_uploaded?; self.band_image_just_uploaded ? true : false; end