Sha256: a7dcf46b5e22c955dd8ddc602286a5a62fc23f9ef5774e96479d9221b9af6062
Contents?: true
Size: 829 Bytes
Versions: 1
Compression:
Stored size: 829 Bytes
Contents
# frozen_string_literal: true module EveOnline module ESI module Models class Stargate < Base include ModelWithEtag def as_json { name: name, stargate_id: stargate_id, system_id: system_id, type_id: type_id, etag: etag } end def name options['name'] end def stargate_id options['stargate_id'] end def system_id options['system_id'] end def type_id options['type_id'] end def destination @destination ||= StargateDestination.new(options['destination']) end def position @position ||= Position.new(options['position']) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
eve_online-0.21.0 | lib/eve_online/esi/models/stargate.rb |