Class: Cb::Models::Branding::Style
- Inherits:
-
Object
- Object
- Cb::Models::Branding::Style
- Defined in:
- lib/cb/models/implementations/branding/style.rb
Instance Attribute Summary collapse
-
#company_info ⇒ Object
Returns the value of attribute company_info.
-
#job_details ⇒ Object
Returns the value of attribute job_details.
-
#page ⇒ Object
Returns the value of attribute page.
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ Style
constructor
A new instance of Style.
Constructor Details
#initialize(args = {}) ⇒ Style
8 9 10 11 12 |
# File 'lib/cb/models/implementations/branding/style.rb', line 8 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_info ⇒ Object
Returns the value of attribute company_info.
6 7 8 |
# File 'lib/cb/models/implementations/branding/style.rb', line 6 def company_info @company_info end |
#job_details ⇒ Object
Returns the value of attribute job_details.
6 7 8 |
# File 'lib/cb/models/implementations/branding/style.rb', line 6 def job_details @job_details end |
#page ⇒ Object
Returns the value of attribute page.
6 7 8 |
# File 'lib/cb/models/implementations/branding/style.rb', line 6 def page @page end |