Class: Studio::EmailImage::Entry
- Inherits:
-
Struct
- Object
- Struct
- Studio::EmailImage::Entry
- Defined in:
- app/services/studio/email_image.rb
Overview
A registered email. default_asset is a logical asset path inside the gem
(resolved through the host's asset pipeline); nil means the email has no
inherited artwork and renders bannerless until someone uploads one.
Instance Attribute Summary collapse
-
#default_asset ⇒ Object
Returns the value of attribute default_asset.
-
#description ⇒ Object
Returns the value of attribute description.
-
#key ⇒ Object
Returns the value of attribute key.
-
#label ⇒ Object
Returns the value of attribute label.
Instance Method Summary collapse
Instance Attribute Details
#default_asset ⇒ Object
Returns the value of attribute default_asset
49 50 51 |
# File 'app/services/studio/email_image.rb', line 49 def default_asset @default_asset end |
#description ⇒ Object
Returns the value of attribute description
49 50 51 |
# File 'app/services/studio/email_image.rb', line 49 def description @description end |
#key ⇒ Object
Returns the value of attribute key
49 50 51 |
# File 'app/services/studio/email_image.rb', line 49 def key @key end |
#label ⇒ Object
Returns the value of attribute label
49 50 51 |
# File 'app/services/studio/email_image.rb', line 49 def label @label end |
Instance Method Details
#to_s ⇒ Object
50 |
# File 'app/services/studio/email_image.rb', line 50 def to_s = key |