Class: Cb::Models::Branding::Styles::Base
- Inherits:
-
Object
- Object
- Cb::Models::Branding::Styles::Base
- Defined in:
- lib/cb/models/implementations/branding/styles/base.rb
Direct Known Subclasses
Buttons, CompanyInfo, Container, Content, Headings, JobDetails, Page
Instance Attribute Summary collapse
-
#styles ⇒ Object
writeonly
Sets the attribute styles.
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ Base
constructor
A new instance of Base.
- #raw ⇒ Object
Constructor Details
#initialize(args = {}) ⇒ Base
Returns a new instance of Base.
18 19 20 |
# File 'lib/cb/models/implementations/branding/styles/base.rb', line 18 def initialize(args = {}) @styles = args end |
Instance Attribute Details
#styles=(value) ⇒ Object (writeonly)
Sets the attribute styles
16 17 18 |
# File 'lib/cb/models/implementations/branding/styles/base.rb', line 16 def styles=(value) @styles = value end |
Instance Method Details
#raw ⇒ Object
22 23 24 |
# File 'lib/cb/models/implementations/branding/styles/base.rb', line 22 def raw @styles end |