Sha256: 977d59f320be023b0753e995da91ee462139a0ce81e8678e534381041a6294a9
Contents?: true
Size: 599 Bytes
Versions: 2
Compression:
Stored size: 599 Bytes
Contents
# frozen_string_literal: true require 'forwardable' module EveOnline module ESI class UniverseAsteroidBelt < Base extend Forwardable API_PATH = '/v1/universe/asteroid_belts/%<asteroid_belt_id>s/' attr_reader :id def initialize(options) super @id = options.fetch(:id) end def_delegators :model, :as_json, :name, :system_id, :position def model @model ||= Models::AsteroidBelt.new(response) end def scope; end def path format("#{ API_PATH }", asteroid_belt_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_asteroid_belt.rb |
eve_online-0.28.0 | lib/eve_online/esi/universe_asteroid_belt.rb |