Class: Cb::Models::Branding::Styles::JobDetails

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

Instance Attribute Summary collapse

Attributes inherited from Base

#styles

Instance Method Summary collapse

Methods inherited from Base

#raw

Constructor Details

#initialize(args = {}) ⇒ JobDetails

Returns a new instance of JobDetails.



18
19
20
21
22
23
# File 'lib/cb/models/implementations/branding/styles/job_details.rb', line 18

def initialize(args = {})
  super
  @container = Container.new args['Container']
  @content = Content.new args['Content']
  @headings = Headings.new args['Headings']
end

Instance Attribute Details

#containerObject

Returns the value of attribute container.



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

def container
  @container
end

#contentObject

Returns the value of attribute content.



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

def content
  @content
end

#headingsObject

Returns the value of attribute headings.



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

def headings
  @headings
end