Sha256: 0a45705a61ee83138a02cb0fd5d22242165dfa7c9304b6d882d5ff272f7c8d27
Contents?: true
Size: 559 Bytes
Versions: 28
Compression:
Stored size: 559 Bytes
Contents
class EveApp::MarketGroup < EveApp::ApplicationRecord BLUEPRINTS = 2 SHIPS = 4 SHIP_EQUIPTMENT = 9 SHIP_MODIFICATIONS = 955 DRONES = 157 CAPITAL_MODULE = 1052 DECRYPTORS = 1873 REFINED_MATERIALS = 1335 PILOT_SERVICES = 1942 NANITE_PASTE = 1103 belongs_to :parent, class_name: 'EveApp::MarketGroup', foreign_key: 'parent_group_id' belongs_to :root, class_name: 'EveApp::MarketGroup', foreign_key: 'root_group_id' has_many :types def root obj = self while !obj.parent.nil? obj = obj.parent end obj end end
Version data entries
28 entries across 28 versions & 1 rubygems