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.



9
10
11
# File 'lib/cb/models/implementations/branding/styles/base.rb', line 9

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.



7
8
9
# File 'lib/cb/models/implementations/branding/styles/base.rb', line 7

def styles=(value)
  @styles = value
end

Instance Method Details

#rawObject



13
14
15
# File 'lib/cb/models/implementations/branding/styles/base.rb', line 13

def raw
  @styles
end