Sha256: aee6d4264ad24695b096e1a71ab0bb209fda845f4bb61b5c6f7ffb7126435939
Contents?: true
Size: 661 Bytes
Versions: 2
Compression:
Stored size: 661 Bytes
Contents
# frozen_string_literal: true module EveOnline module ESI module Models class Constellation < Base def as_json { constellation_id: constellation_id, name: name, region_id: region_id, } end def constellation_id options["constellation_id"] end def name options["name"] end def region_id options["region_id"] end def system_ids options["systems"] end def position @position ||= Position.new(options["position"]) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
eve_online-0.31.0 | lib/eve_online/esi/models/constellation.rb |
eve_online-0.30.0 | lib/eve_online/esi/models/constellation.rb |