class PnoteClient::Documents::Hml::Style

Attributes

id[R]
name[R]

Public Class Methods

from_tag(style_tag) click to toggle source
# File lib/pnote_client/documents/hml/style.rb, line 5
def self.from_tag(style_tag)
  style_id = style_tag['Id']
  style_name = style_tag['Name']

  return self.new(style_id, style_name)
end
new(id, name) click to toggle source
# File lib/pnote_client/documents/hml/style.rb, line 14
def initialize(id, name)
  @id = id
  @name = name
end