Sha256: 5618b097567f58796cc3fdffca1fec611881948abe9bfb6d22951dd4571b515d
Contents?: true
Size: 551 Bytes
Versions: 2
Compression:
Stored size: 551 Bytes
Contents
# frozen_string_literal: true module EveOnline module ESI module Models class Moon < Base def as_json { moon_id: moon_id, name: name, system_id: system_id, } end def moon_id options["moon_id"] end def name options["name"] end def system_id options["system_id"] 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/moon.rb |
eve_online-0.30.0 | lib/eve_online/esi/models/moon.rb |