Sha256: ef82347eec2ca7383b372e54ec0cc6072726b76db09ecc651070b187f00b7d3e
Contents?: true
Size: 453 Bytes
Versions: 10
Compression:
Stored size: 453 Bytes
Contents
# frozen_string_literal: true module EveOnline module ESI module Models class PlanetShort < Base def as_json { planet_id: planet_id } end def planet_id options['planet_id'] end def asteroid_belt_ids options.fetch('asteroid_belts', []) end def moon_ids options.fetch('moons', []) end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems