lib/destiny_rb/manifest_definitions.rb
# Enemy Race definitions
#
# Usage:
#   client.enemy_race(:vex)
#   client.enemy_race(711470098)
#
# Arguments:
#   type: (String/Symbol)
#
# Returns:
#   Either the numeric representation of a enemy race or a symbol of said race.


(String/Symbol)

Either the numeric representation of a enemy race or a symbol of said race.
( String / Symbol ) Either the numeric representation of a enemy race or a symbol of said race .
def enemy_race(type)
      races = {
        none: 0, 
        fallen: 1636291695,
        vex: 711470098,
        cabal: 546070638,
        hive: 3265589059
      }
      type_checker(type, races)
    end
def enemy_race ( type ) races = { none : 0 , fallen : 1636291695 , vex : 711470098 , cabal : 546070638 , hive : 3265589059 } type_checker ( type , races ) end
Enemy Race definitions
Usage:
client.enemy_race(:vex)
client.enemy_race(711470098)
Enemy Race definitions Usage : client . enemy_race ( : vex ) client . enemy_race ( 711470098 )
# Not a real Bungie value
type
<not_specific>