Sha256: 7557f7a5f5783eddcf4443f53e1b828ba8a587305e11e51765dee04267e82d28
Contents?: true
Size: 370 Bytes
Versions: 1
Compression:
Stored size: 370 Bytes
Contents
require 'nokogiri' module FakeChargify class ProductFamily attr_accessor :accounting_code, :handle, :name def to_xml builder = Nokogiri::XML::Builder.new do |xml| xml.product_family { xml.accounting_code accounting_code xml.handle handle xml.name name } end builder.to_xml end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fake_chargify-0.1.0 | lib/fake_chargify/product_family.rb |