Sha256: c52426edcc471dabeae51053f41df86232df8f3f524ef9aec85996b146356609

Contents?: true

Size: 1.52 KB

Versions: 6

Compression:

Stored size: 1.52 KB

Contents

# frozen_string_literal: true

module Ieee
  module Idams
    # Standard Bundle
    class StandardBundle < Lutaml::Model::Serializable
      # <standard_bundle>
      #   <bundle_name>American National Standard Recommended Practice for an On-Site, Ad Hoc Test Method for Estimating Electromagnetic Immunity of Medical Devices to Radiated Radio-Frequency (RF) Emissions from RF Transmitters - Redline</bundle_name>
      #   <bundle_type>Suggested</bundle_type>
      #   <base_standard_product_number>STD98685</base_standard_product_number>
      #   <bundle_product_number>STDRL98685</bundle_product_number>
      # </standard_bundle>

      # Bundle name
      # @return [String] bundle name
      # @example "American ..."
      attribute :bundle_name, :string

      # Bundle type
      # @return [String] bundle type
      # @example "Suggested"
      attribute :bundle_type, :string

      # Base standard product number
      # @return [String] base standard product number
      # @example "STD98685"
      attribute :base_standard_product_number, :string

      # Bundle product number
      # @return [String] bundle product number
      # @example "STDRL98685"
      attribute :bundle_product_number, :string

      xml do
        root "standard_bundle"
        map_element "bundle_name", to: :bundle_name
        map_element "bundle_type", to: :bundle_type
        map_element "base_standard_product_number", to: :base_standard_product_number
        map_element "bundle_product_number", to: :bundle_product_number
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ieee-idams-0.2.11 lib/ieee/idams/standard_bundle.rb
ieee-idams-0.2.10 lib/ieee/idams/standard_bundle.rb
ieee-idams-0.2.9 lib/ieee/idams/standard_bundle.rb
ieee-idams-0.2.8 lib/ieee/idams/standard_bundle.rb
ieee-idams-0.2.7 lib/ieee/idams/standard_bundle.rb
ieee-idams-0.2.6 lib/ieee/idams/standard_bundle.rb