Module: Restiny::ItemLocation

Defined in:
lib/restiny/constants.rb

Constant Summary collapse

UNKNOWN =

Definitions for the possible locations an item can be related to a character.

0
INVENTORY =
1
VAULT =
2
VENDOR =
3
POSTMASTER =
4

Class Method Summary collapse

Class Method Details

.namesObject



31
32
33
34
35
36
37
38
39
# File 'lib/restiny/constants.rb', line 31

def self.names
  {
    UNKNOWN => 'Unknown',
    INVENTORY => 'Inventory',
    VAULT => 'Vault',
    VENDOR => 'Vendor',
    POSTMASTER => 'Postmaster'
  }
end