Sha256: c3c6f1b41c0cda57bef40843c2371659f4fa51ba9d64da58f3b2de9663075972
Contents?: true
Size: 591 Bytes
Versions: 2
Compression:
Stored size: 591 Bytes
Contents
# frozen_string_literal: true module EveOnline module ESI class CharacterWallet < Base API_PATH = '/v1/characters/%<character_id>s/wallet/' 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 path format("#{ API_PATH }", character_id: character_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/character_wallet.rb |
eve_online-0.28.0 | lib/eve_online/esi/character_wallet.rb |