Sha256: 461bd98e9c2194db194ef99d4516e4c842d1fa064e2fdfdb9d2e2334e99d5a2c

Contents?: true

Size: 255 Bytes

Versions: 107

Compression:

Stored size: 255 Bytes

Contents

module EgovUtils
  class District < AzaharaSchema::Attribute

    def initialize
      super(EgovUtils::Address, 'district', 'love')
    end

    def available_values
      EgovUtils::Address.districts.collect{|d| [d[:name],d[:name]] }
    end

  end
end

Version data entries

107 entries across 107 versions & 1 rubygems

Version Path
egov_utils-0.4.3 app/attributes/egov_utils/district.rb
egov_utils-0.4.2 app/attributes/egov_utils/district.rb
egov_utils-0.4.1 app/attributes/egov_utils/district.rb
egov_utils-0.3.12 app/attributes/egov_utils/district.rb
egov_utils-0.3.10 app/attributes/egov_utils/district.rb
egov_utils-0.3.9 app/attributes/egov_utils/district.rb
egov_utils-0.3.8 app/attributes/egov_utils/district.rb
egov_utils-0.3.7 app/attributes/egov_utils/district.rb
egov_utils-0.3.6 app/attributes/egov_utils/district.rb
egov_utils-0.3.5 app/attributes/egov_utils/district.rb
egov_utils-0.3.4 app/attributes/egov_utils/district.rb
egov_utils-0.3.3 app/attributes/egov_utils/district.rb
egov_utils-0.3.2 app/attributes/egov_utils/district.rb
egov_utils-0.3.1 app/attributes/egov_utils/district.rb
egov_utils-0.3.0 app/attributes/egov_utils/district.rb
egov_utils-0.2.13 app/attributes/egov_utils/district.rb
egov_utils-0.2.12 app/attributes/egov_utils/district.rb
egov_utils-0.2.11 app/attributes/egov_utils/district.rb
egov_utils-0.2.10 app/attributes/egov_utils/district.rb
egov_utils-0.2.9 app/attributes/egov_utils/district.rb