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.



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_uploadedObject

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

#bioObject

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

#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)


7
8
9
# File 'lib/active_scaffold/bridges/file_column/test/mock_model.rb', line 7

def band_image_just_uploaded?
  band_image_just_uploaded
end