class RelatonGb::GbTechnicalCommittee
GB technical committee.
Attributes
name[R]
@return [String]
type[R]
@return [String]
Public Class Methods
new(type:, name:)
click to toggle source
@param type [String] @param name [String]
# File lib/relaton_gb/gb_technical_committee.rb, line 12 def initialize(type:, name:) @type = type @name = name end
Public Instance Methods
to_hash()
click to toggle source
@return [Hash]
# File lib/relaton_gb/gb_technical_committee.rb, line 24 def to_hash { "type" => type, "name" => name } end
to_xml(builder)
click to toggle source
# File lib/relaton_gb/gb_technical_committee.rb, line 17 def to_xml(builder) builder.gbcommittee(type: @type) do builder.text @name end end