Sha256: 54ebd6f40ce2be0d6bb8290065e2340c159980751bb3d210e0ad15ae98ec1e7a
Contents?: true
Size: 656 Bytes
Versions: 17
Compression:
Stored size: 656 Bytes
Contents
# frozen_string_literal: true require "forwardable" module EveOnline module ESI class UniverseStargate < Base extend Forwardable API_PATH = "/v1/universe/stargates/%<stargate_id>s/" attr_reader :id def initialize(options) super @id = options.fetch(:id) end def_delegators :model, :as_json, :name, :stargate_id, :system_id, :type_id, :destination_stargate_id, :destination_system_id, :position def model @model ||= Models::Stargate.new(response) end def scope end def path format(API_PATH, stargate_id: id) end end end end
Version data entries
17 entries across 17 versions & 1 rubygems