Class: MockModel

Inherits:
Object show all
Defined in:
lib/active_scaffold/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.



2
3
4
# File 'lib/active_scaffold/bridges/file_column/test/mock_model.rb', line 2

def band_image
  @band_image
end

#band_image_just_uploadedObject

Returns the value of attribute band_image_just_uploaded.



2
3
4
# File 'lib/active_scaffold/bridges/file_column/test/mock_model.rb', line 2

def band_image_just_uploaded
  @band_image_just_uploaded
end

#bioObject

Returns the value of attribute bio.



2
3
4
# File 'lib/active_scaffold/bridges/file_column/test/mock_model.rb', line 2

def bio
  @bio
end

#nameObject

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

Returns:

  • (Boolean)


4
5
6
# File 'lib/active_scaffold/bridges/file_column/test/mock_model.rb', line 4

def band_image_just_uploaded?
  band_image_just_uploaded
end