Sha256: 2d8d350356ad89d51385615bed4f4a9114dc4d8449cabae6a900c70fe10a22fe

Contents?: true

Size: 287 Bytes

Versions: 6

Compression:

Stored size: 287 Bytes

Contents

# frozen_string_literal: true

require 'ffaker/address'

module FFaker
  module AddressCH
    include FFaker::Address

    extend ModuleUtils
    extend self

    def postal_code
      FFaker.numerify '####'
    end

    def canton_abbr
      fetch_sample(CANTON_ABBR)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ffaker-2.17.0 lib/ffaker/address_ch.rb
ffaker-2.16.0 lib/ffaker/address_ch.rb
ffaker-2.15.0 lib/ffaker/address_ch.rb
ffaker-2.14.0 lib/ffaker/address_ch.rb
ffaker-2.13.0 lib/ffaker/address_ch.rb
ffaker-2.12.0 lib/ffaker/address_ch.rb