Sha256: 682777f80c51ef4c052c3bee0005beaf1febe657067fd6d0e75daef098f06ef4
Contents?: true
Size: 660 Bytes
Versions: 7
Compression:
Stored size: 660 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
7 entries across 7 versions & 1 rubygems