Class: Cb::Models::Branding::Styles::Base

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

Direct Known Subclasses

Buttons, CompanyInfo, Container, Content, Headings, JobDetails, Page

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args = {}) ⇒ Base

Returns a new instance of Base.



18
19
20
# File 'lib/cb/models/implementations/branding/styles/base.rb', line 18

def initialize(args = {})
  @styles = args
end

Instance Attribute Details

#styles=(value) ⇒ Object (writeonly)

Sets the attribute styles

Parameters:

  • value

    the value to set the attribute styles to.



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

def styles=(value)
  @styles = value
end

Instance Method Details

#rawObject



22
23
24
# File 'lib/cb/models/implementations/branding/styles/base.rb', line 22

def raw
  @styles
end