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
Returns a new instance of CompanyInfo.
18 19 20 21 22 23 24 |
# File 'lib/cb/models/implementations/branding/styles/company_info.rb', line 18 def initialize(args = {}) super @buttons = 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.
16 17 18 |
# File 'lib/cb/models/implementations/branding/styles/company_info.rb', line 16 def @buttons end |
#container ⇒ Object
Returns the value of attribute container.
16 17 18 |
# File 'lib/cb/models/implementations/branding/styles/company_info.rb', line 16 def container @container end |
#content ⇒ Object
Returns the value of attribute content.
16 17 18 |
# File 'lib/cb/models/implementations/branding/styles/company_info.rb', line 16 def content @content end |
#headings ⇒ Object
Returns the value of attribute headings.
16 17 18 |
# File 'lib/cb/models/implementations/branding/styles/company_info.rb', line 16 def headings @headings end |