Class: Cb::Models::Branding::Styles::CompanyInfo
- Defined in:
- lib/cb/models/implementations/branding/styles/company_info.rb
Instance Attribute Summary collapse
-
#buttons ⇒ Object
Returns the value of attribute buttons.
-
#container ⇒ Object
Returns the value of attribute container.
-
#content ⇒ Object
Returns the value of attribute content.
-
#headings ⇒ Object
Returns the value of attribute headings.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ CompanyInfo
constructor
A new instance of CompanyInfo.
Methods inherited from Base
Constructor Details
#initialize(args = {}) ⇒ CompanyInfo
9 10 11 12 13 14 15 |
# File 'lib/cb/models/implementations/branding/styles/company_info.rb', line 9 def initialize args = {} super = Buttons.new args['Buttons'] @container = Container.new args['Container'] @content = Content.new args['Content'] @headings = Headings.new args['Headings'] end |
Instance Attribute Details
#buttons ⇒ Object
Returns the value of attribute buttons.
7 8 9 |
# File 'lib/cb/models/implementations/branding/styles/company_info.rb', line 7 def end |
#container ⇒ Object
Returns the value of attribute container.
7 8 9 |
# File 'lib/cb/models/implementations/branding/styles/company_info.rb', line 7 def container @container end |
#content ⇒ Object
Returns the value of attribute content.
7 8 9 |
# File 'lib/cb/models/implementations/branding/styles/company_info.rb', line 7 def content @content end |
#headings ⇒ Object
Returns the value of attribute headings.
7 8 9 |
# File 'lib/cb/models/implementations/branding/styles/company_info.rb', line 7 def headings @headings end |