Sha256: ac567b053250a56e90b204ce7303844830cee662410d1df85e255069a9c9e8bd
Contents?: true
Size: 664 Bytes
Versions: 1
Compression:
Stored size: 664 Bytes
Contents
# frozen_string_literal: true module EveOnline module ESI class CharacterWallet < Base API_ENDPOINT = 'https://esi.tech.ccp.is/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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
eve_online-0.17.0 | lib/eve_online/esi/character_wallet.rb |