Sha256: 6dd0166b5dd15b99666d4aee9f2d66a4dec83ddb0c91e968816b29558d21458f
Contents?: true
Size: 635 Bytes
Versions: 2
Compression:
Stored size: 635 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, :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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
eve_online-0.29.0 | lib/eve_online/esi/universe_stargate.rb |
eve_online-0.28.0 | lib/eve_online/esi/universe_stargate.rb |