Sha256: 8f4a85b377da1e2992b970088105cbeb94d21095f36f6c3a04bcb499d6af9cea

Contents?: true

Size: 161 Bytes

Versions: 2

Compression:

Stored size: 161 Bytes

Contents

class Country < ActiveRecord::Base
  set_primary_key :iso_3166_code
  
  class << self
    def united_states
      find_by_iso_3166_code('US')
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sniff-0.0.3 lib/test_support/data_models/country.rb
sniff-0.0.2 lib/test_support/data_models/country.rb