Class: Cb::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



8
9
10
11
12
13
14
15
# File 'lib/cb/models/implementations/branding/styles/company_info.rb', line 8

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.



6
7
8
# File 'lib/cb/models/implementations/branding/styles/company_info.rb', line 6

def buttons
  @buttons
end

#containerObject

Returns the value of attribute container.



6
7
8
# File 'lib/cb/models/implementations/branding/styles/company_info.rb', line 6

def container
  @container
end

#contentObject

Returns the value of attribute content.



6
7
8
# File 'lib/cb/models/implementations/branding/styles/company_info.rb', line 6

def content
  @content
end

#headingsObject

Returns the value of attribute headings.



6
7
8
# File 'lib/cb/models/implementations/branding/styles/company_info.rb', line 6

def headings
  @headings
end