Module: CarrierWave::Base64ImageContent::Store::ClassMethods
- Defined in:
- lib/carrierwave/base64_image_content/store.rb
Instance Attribute Summary collapse
-
#base64_image_content_content_attribute ⇒ Object
readonly
Returns the value of attribute base64_image_content_content_attribute.
-
#base64_image_content_images_attribute ⇒ Object
readonly
Returns the value of attribute base64_image_content_images_attribute.
Instance Method Summary collapse
Instance Attribute Details
#base64_image_content_content_attribute ⇒ Object (readonly)
Returns the value of attribute base64_image_content_content_attribute.
9 10 11 |
# File 'lib/carrierwave/base64_image_content/store.rb', line 9 def base64_image_content_content_attribute @base64_image_content_content_attribute end |
#base64_image_content_images_attribute ⇒ Object (readonly)
Returns the value of attribute base64_image_content_images_attribute.
10 11 12 |
# File 'lib/carrierwave/base64_image_content/store.rb', line 10 def base64_image_content_images_attribute @base64_image_content_images_attribute end |
Instance Method Details
#base64_image_content_store(content: :text_content, images: :images) ⇒ Object
12 13 14 15 |
# File 'lib/carrierwave/base64_image_content/store.rb', line 12 def base64_image_content_store(content: :text_content, images: :images) @base64_image_content_content_attribute = content @base64_image_content_images_attribute = images end |