Sha256: e595c73ff2ec2e4c15194cf56aec475f2a9e6ae399a508fd4d0555becf405527

Contents?: true

Size: 496 Bytes

Versions: 7

Compression:

Stored size: 496 Bytes

Contents

# frozen_string_literal: true
require 'happymapper'
require_relative './node'
require_relative './product_category'
require_relative './rixml_type/yes_no_boolean'

module RixmlDocument
  class ProductDetails < Node
    include HappyMapper
    tag 'ProductDetails'

    has_one :product_category, ProductCategory, xpath: './'

    attribute :publication_date_time, Time, tag: 'publicationDateTime'
    attribute :periodical_indicator, RixmlType::YesNoBoolean, tag: 'periodicalIndicator'
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rixml-0.5.8 lib/rixml_document/product_details.rb
rixml-0.5.6 lib/rixml_document/product_details.rb
rixml-0.5.5 lib/rixml_document/product_details.rb
rixml-0.5.4 lib/rixml_document/product_details.rb
rixml-0.5.3 lib/rixml_document/product_details.rb
rixml-0.5.2 lib/rixml_document/product_details.rb
rixml-0.5.1 lib/rixml_document/product_details.rb