Class: Cb::Models::Branding::Styles::CompanyInfo

Inherits:
Base
  • Object
show all
Defined in:
lib/cb/models/implementations/branding/styles/company_info.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#styles

Instance Method Summary collapse

Methods inherited from Base

#raw

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

#buttonsObject

Returns the value of attribute buttons.



16
17
18
# File 'lib/cb/models/implementations/branding/styles/company_info.rb', line 16

def buttons
  @buttons
end

#containerObject

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

#contentObject

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

#headingsObject

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