Sha256: 5dbe41929bf596fdaa2a4f04b3958de1f9065de0b2aaf63a2d644d56ad2f887e

Contents?: true

Size: 421 Bytes

Versions: 6

Compression:

Stored size: 421 Bytes

Contents

module RelatonGb
  # GB technical committee.
  class GbTechnicalCommittee
    # @return [String]
    attr_reader :type

    # @return [String]
    attr_reader :name

    # @param type [String]
    # @param name [String]
    def initialize(type:, name:)
      @type = type
      @name = name
    end

    def to_xml(builder)
      builder.gbcommittee(type: @type) do
        builder.text @name
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
relaton-gb-0.6.1 lib/relaton_gb/gb_technical_committee.rb
relaton-gb-0.6.0 lib/relaton_gb/gb_technical_committee.rb
relaton-gb-0.5.2 lib/relaton_gb/gb_technical_committee.rb
relaton-gb-0.5.1 lib/relaton_gb/gb_technical_committee.rb
relaton-gb-0.5.0 lib/relaton_gb/gb_technical_committee.rb
relaton-gb-0.1.0 lib/relaton_gb/gb_technical_committee.rb