Sha256: 293482bde78682c90a73b658c9e461c1d308b0e9299319284b27d7931584122b
Contents?: true
Size: 606 Bytes
Versions: 2
Compression:
Stored size: 606 Bytes
Contents
# frozen_string_literal: true require 'forwardable' module EveOnline module ESI class AllianceIcon < Base extend Forwardable API_PATH = '/v1/alliances/%<alliance_id>s/icons/' attr_reader :alliance_id def initialize(options) super @alliance_id = options.fetch(:alliance_id) end def_delegators :model, :as_json, :icon_small, :icon_medium def model @model ||= Models::AllianceIcon.new(response) end def scope; end def path format("#{ API_PATH }", alliance_id: alliance_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/alliance_icon.rb |
eve_online-0.28.0 | lib/eve_online/esi/alliance_icon.rb |