Sha256: 2678df3a4648a00529a7afc57c87179a33bff747caf50e49150e4b6e06274d4f

Contents?: true

Size: 675 Bytes

Versions: 3

Compression:

Stored size: 675 Bytes

Contents

# frozen_string_literal: true

module SevenBankFxRate
  module Elements
    # Corresponds to the country tag in xml:
    # <country>
    #   <countrycode>CN</countrycode>
    #   <countryname>China</countryname>
    #   <currency>
    #     <currencycode>CNY</currencycode>
    #     <currencyname>Chinese Yuan Renminbi</currencyname>
    #     <fxrate>0.0636548</fxrate>
    #   </currency>
    #   <currency>
    #     <currencycode>USD</currencycode>
    #     <currencyname>US Dollar</currencyname>
    #     <fxrate>0.0093211</fxrate>
    #   </currency>
    # </country>
    class Country
      attr_accessor :country_code, :country_name, :currencies
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
seven_bank_fx_rate-1.1.1 lib/seven_bank_fx_rate/elements/country.rb
seven_bank_fx_rate-1.1.0 lib/seven_bank_fx_rate/elements/country.rb
seven_bank_fx_rate-1.0.0 lib/seven_bank_fx_rate/elements/country.rb