Sha256: feeecd61598102d3d17c7ac446fe408d2df70d67940e87f3edd2193584f4f11c
Contents?: true
Size: 424 Bytes
Versions: 2
Compression:
Stored size: 424 Bytes
Contents
require 'ox' require 'parser_core' require 'money_s3/requires' require 'money_s3/parsers/money_data' require 'money_s3/builders/money_data' module MoneyS3 def self.parse(raw) parsed = Ox.load(raw, skip: :skip_none) content = parsed.locate('MoneyData').first Parsers::MoneyData.new(content) end def self.build(data, options = {}) Builders::MoneyData.new('MoneyData', data, options).to_xml end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
money_s3-2.0.0 | lib/money_s3.rb |
money_s3-1.0.0 | lib/money_s3.rb |