Sha256: a22136daab1cb7911da6e08d7e642dccb0c234deaaa699407cf7df3803e923ab

Contents?: true

Size: 1.2 KB

Versions: 1

Compression:

Stored size: 1.2 KB

Contents

# encoding: utf-8


### todo/fix: move to sportdb-data gem/plugin/addon ??
##
###  move to sportdb/data  ??  or sportdb/const ?? sportdb/
##  or let use sportdb/keys addon ??

###
##  add all known repos settings from build scripts ???
##
#

##   or sportdb/data  ??

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


module SportDb

  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_2013_14     = 'at.2013/14'

    AT_CUP_2012_13 = 'at.cup.2012/13'
    AT_CUP_2013_14 = 'at.cup.2013/14'

    CL_2012_13     = 'cl.2012/13'
    CL_2013_14     = 'cl.2013/14'

    EURO_2008      = 'euro.2008'
    EURO_2012      = 'euro.2012'

    WORLD_2010     = 'world.2010'
    WORLD_2014     = 'world.2014'

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

    ##################################################################
    # NB: see github/openfootball (leagues.txt) for keys in use
  end  # module EventKeys



  module Keys
    ## all keys  - used by anybody? really needed? check back later
    include EventKeys
  end

end # module SportDb

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sportdb-1.9.5 lib/sportdb/data/keys.rb