Sha256: 368b2ef7d430f6bbb47063f0464e15d75fd62e555a71062269ec0fb5695116dd
Contents?: true
Size: 748 Bytes
Versions: 18
Compression:
Stored size: 748 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 additional_query_params [:language] end def path format(API_PATH, system_id: id) end end end end
Version data entries
18 entries across 18 versions & 1 rubygems