Class: Cb::Models::Branding::Style

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args = {}) ⇒ Style

Returns a new instance of Style.



17
18
19
20
21
# File 'lib/cb/models/implementations/branding/style.rb', line 17

def initialize(args = {})
  @page         = Styles::Page.new args['Page']
  @job_details  = Styles::JobDetails.new args['JobDetails']
  @company_info = Styles::CompanyInfo.new args['CompanyInfo']
end

Instance Attribute Details

#company_infoObject

Returns the value of attribute company_info.



15
16
17
# File 'lib/cb/models/implementations/branding/style.rb', line 15

def company_info
  @company_info
end

#job_detailsObject

Returns the value of attribute job_details.



15
16
17
# File 'lib/cb/models/implementations/branding/style.rb', line 15

def job_details
  @job_details
end

#pageObject

Returns the value of attribute page.



15
16
17
# File 'lib/cb/models/implementations/branding/style.rb', line 15

def page
  @page
end