Sha256: d52eb11267d3a5204c90314fc2e6e7c754e97de2caa1ee9ecdfc365f338fe36b
Contents?: true
Size: 604 Bytes
Versions: 8
Compression:
Stored size: 604 Bytes
Contents
# frozen_string_literal: true require "forwardable" module EveOnline module ESI class AllianceIcon < Base extend Forwardable API_PATH = "/v2/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
8 entries across 8 versions & 1 rubygems