Class: Greeve::Character::AccountBalance
- Defined in:
- lib/greeve/character/account_balance.rb
Overview
Character account balance.
Instance Method Summary collapse
-
#initialize(character_id, opts = {}) ⇒ AccountBalance
constructor
A new instance of AccountBalance.
Methods inherited from BaseItem
attribute, #cache_expired?, #cached_until, endpoint, #inspect, namespace, #refresh, rowset, #to_s
Methods included from Helpers::AttributeToHash
Constructor Details
#initialize(character_id, opts = {}) ⇒ AccountBalance
Returns a new instance of AccountBalance.
18 19 20 21 |
# File 'lib/greeve/character/account_balance.rb', line 18 def initialize(character_id, opts = {}) opts[:query_params] = { "characterID" => character_id } super(opts) end |