Sha256: 227d738e734d1757f8c56fafe9e15303589db5037b6d441a9b1f818dbb9b86c2

Contents?: true

Size: 242 Bytes

Versions: 1

Compression:

Stored size: 242 Bytes

Contents

require 'money_s3/base_element'

module MoneyS3
  class ReferenceType
    include BaseElement

    def id
      array_of_at(String, [:ID])
    end

    def to_h
      { id: id
      }.delete_if { |k, v| v.nil? || v.empty? }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
money_s3-0.3.0 lib/money_s3/reference_type.rb