Sha256: 8ed6635e6b5301b7a49d90f10d6b562602388ac6eaaaadc88e727932f95c4784

Contents?: true

Size: 471 Bytes

Versions: 4

Compression:

Stored size: 471 Bytes

Contents

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

  has_many :types

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
eve_app-0.1.3 app/models/eve_app/category.rb
eve_app-0.1.2 app/models/eve_app/category.rb
eve_app-0.1.1 app/models/eve_app/category.rb
eve_app-0.1.0 app/models/eve_app/category.rb