Sha256: 85ca93a603918a057befd746dfd8c2576a381f8402a42305fd13df443840fa28

Contents?: true

Size: 634 Bytes

Versions: 7

Compression:

Stored size: 634 Bytes

Contents

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_EURO_2012_13    = 'world.quali.euro.2012/13'
  WORLD_QUALI_AMERICA_2012_13 = 'world.quali.america.2012/13'

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

end # module SportDB::Keys

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sportdb-0.9.7 lib/sportdb/keys.rb
sportdb-0.9.6 lib/sportdb/keys.rb
sportdb-0.9.5 lib/sportdb/keys.rb
sportdb-0.9.4 lib/sportdb/keys.rb
sportdb-0.9.3 lib/sportdb/keys.rb
sportdb-0.9.2 lib/sportdb/keys.rb
sportdb-0.9.1 lib/sportdb/keys.rb