Sha256: 7a460728e02d47ac0702c7e2b503e04a11d067901887c415fa18faab3591dc1c
Contents?: true
Size: 664 Bytes
Versions: 6
Compression:
Stored size: 664 Bytes
Contents
# frozen_string_literal: true module EveOnline module ESI class CharacterWallet < Base API_ENDPOINT = 'https://esi.evetech.net/v1/characters/%<character_id>s/wallet/?datasource=%<datasource>s' attr_reader :character_id def initialize(options) super @character_id = options.fetch(:character_id) end def as_json { wallet: wallet } end def wallet response end def scope 'esi-wallet.read_character_wallet.v1' end def url format(API_ENDPOINT, character_id: character_id, datasource: datasource) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems