Sha256: 8fb764a8672beec4ecfc38f5b92e2f1d1e3951658aa6d52f421cea611618cc1e

Contents?: true

Size: 713 Bytes

Versions: 2

Compression:

Stored size: 713 Bytes

Contents

class EveApp::Category < EveApp::ApplicationRecord
  MATERIAL            = 4
  ACCESSOIRE          = 5
  SHIP                = 6
  MODULE              = 7
  CHARGE              = 8
  BLUEPRINT           = 9
  SKILL               = 16
  COMMODITY           = 17
  DRONE               = 18
  IMPLANT             = 20
  DEPLOYABLE          = 22
  STARBASE            = 23
  ASTEROID            = 25
  APPAREL             = 30
  SUBSYSTEM           = 32
  ANCIENT_RELICS      = 34
  DECRYPTOR           = 35
  PLANET_INTERACTION  = 41
  PLANETARY_COMMODITY = 43
  STRUCTURE           = 65
  STRUCTURE_MODULE    = 66
  FIGHTER             = 87

  has_many :types

  scope :published, -> { where(published: true) }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
eve_app-0.1.7 app/models/eve_app/category.rb
eve_app-0.1.6 app/models/eve_app/category.rb