Sha256: 6589890f54f800c9f051b8bc0edaeb45289f6837fac34c9170c26341731bf9e3
Contents?: true
Size: 585 Bytes
Versions: 2
Compression:
Stored size: 585 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.31.0 | lib/eve_online/esi/character_wallet.rb |
eve_online-0.30.0 | lib/eve_online/esi/character_wallet.rb |