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
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_info ⇒ Object
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_details ⇒ Object
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 |
#page ⇒ Object
Returns the value of attribute page.
15 16 17 |
# File 'lib/cb/models/implementations/branding/style.rb', line 15 def page @page end |