Sha256: 544fa21fa46b4956b68eb112d8f60057482c05a9238c468b1b7f256077f0e206

Contents?: true

Size: 794 Bytes

Versions: 12

Compression:

Stored size: 794 Bytes

Contents

class EveApp::Group < EveApp::ApplicationRecord
  MINERAL = 18
  CONSTRUCTION_COMPONENT = 334
  STATION_COMPONENT = 536
  CAPITAL_COMPONENT = 873
  ADVANCED_CAPITAL_COMPONENT = 913
  TOOL = 332

  TITAN = 30
  DREADNOUGHT = 485
  CARRIER = 547
  SUPERCARRIER = 659
  CAPITAL_INDUSTRIAL = 883
  JUMP_FREIGHTER = 902
  FAX = 1538

  COMPONENTS = [CONSTRUCTION_COMPONENT, STATION_COMPONENT, CAPITAL_COMPONENT, ADVANCED_CAPITAL_COMPONENT]
  CAPITALS = [TITAN, SUPERCARRIER, CARRIER, DREADNOUGHT, CAPITAL_INDUSTRIAL, JUMP_FREIGHTER, FAX]
  SUPER_CAPITALS = [TITAN, SUPERCARRIER]

  has_many :types, class_name: 'EveApp::Type'
  has_many :assembly_line_details, -> { standup }, class_name: 'EveApp::AssemblyLineTypeDetailPerGroup'
  has_many :assembly_line_types, through: :assembly_line_details
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
eve_app-0.1.34 app/models/eve_app/group.rb
eve_app-0.1.33 app/models/eve_app/group.rb
eve_app-0.1.32 app/models/eve_app/group.rb
eve_app-0.1.31 app/models/eve_app/group.rb
eve_app-0.1.29 app/models/eve_app/group.rb
eve_app-0.1.27 app/models/eve_app/group.rb
eve_app-0.1.22 app/models/eve_app/group.rb
eve_app-0.1.21 app/models/eve_app/group.rb
eve_app-0.1.20 app/models/eve_app/group.rb
eve_app-0.1.19 app/models/eve_app/group.rb
eve_app-0.1.18 app/models/eve_app/group.rb
eve_app-0.1.17 app/models/eve_app/group.rb