Sha256: 2782f335a23e0a190d6063daa1b81e7bc8e3e413deb7ed06a6a6a4ef3330de03
Contents?: true
Size: 776 Bytes
Versions: 2
Compression:
Stored size: 776 Bytes
Contents
# frozen_string_literal: true require 'forwardable' module EveOnline module ESI class UniverseSystem < Base extend Forwardable API_PATH = '/v4/universe/systems/%<system_id>s/' attr_reader :id def initialize(options) super @id = options.fetch(:id) end def_delegators :model, :as_json, :constellation_id, :name, :security_class, :security_status, :star_id, :system_id, :position, :planets, :stargate_ids, :station_ids def model @model ||= Models::System.new(response) end def scope; end def additation_query_params [:language] end def path format("#{ API_PATH }", system_id: id) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
eve_online-0.29.0 | lib/eve_online/esi/universe_system.rb |
eve_online-0.28.0 | lib/eve_online/esi/universe_system.rb |