Sha256: 1f3109143b4215d3852c4d7c932645788cc254fc119db06db1f35efd52d10cfa
Contents?: true
Size: 620 Bytes
Versions: 1
Compression:
Stored size: 620 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
eve_online-0.30.0 | lib/eve_online/esi/universe_stargate.rb |