Sha256: ed1668e23407c2bfd4ac8ce7f685719d262460737d12a7716f6469eadd0513b0

Contents?: true

Size: 754 Bytes

Versions: 9

Compression:

Stored size: 754 Bytes

Contents

# encoding: utf-8

### todo/fix: move to sportdb-data gem/plugin/addon ??


### fix: rename to ::Key (singular) - why? why not??

module SportDB::Keys

    module EventKeys
  # use constants for known keys; lets us define aliases (if things change)

  
  AT_2011_12     = 'at.2011/12'
  AT_2012_13     = 'at.2012/13'
  AT_CUP_2012_13 = 'at.cup.2012/13'
  
  CL_2012_13     = 'cl.2012/13'
  
  EURO_2008      = 'euro.2008'
  EURO_2012      = 'euro.2012'

  WORLD_2010     = 'world.2010'
  
  WORLD_QUALI_EUROPE_2014  = 'world.quali.europe.2014'
  WORLD_QUALI_AMERICA_2014 = 'world.quali.america.2014'

  ############################
  ## NB: see db/leagues.rb for keys in use
    end 
    
    include SportDB::Keys::EventKeys

end # module SportDB::Keys

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
sportdb-1.5.0 lib/sportdb/data/keys.rb
sportdb-1.4.2 lib/sportdb/data/keys.rb
sportdb-1.4.1 lib/sportdb/data/keys.rb
sportdb-1.4.0 lib/sportdb/data/keys.rb
sportdb-1.3.0 lib/sportdb/data/keys.rb
sportdb-1.2.0 lib/sportdb/data/keys.rb
sportdb-1.1.0 lib/sportdb/data/keys.rb
sportdb-1.0.1 lib/sportdb/data/keys.rb
sportdb-1.0.0 lib/sportdb/data/keys.rb