Class: Greeve::Character::Notifications
- Defined in:
- lib/greeve/character/notifications.rb
Overview
Character notifications.
Instance Method Summary collapse
-
#initialize(character_id, opts = {}) ⇒ Notifications
constructor
A new instance of Notifications.
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 = {}) ⇒ Notifications
Returns a new instance of Notifications.
21 22 23 24 |
# File 'lib/greeve/character/notifications.rb', line 21 def initialize(character_id, opts = {}) opts[:query_params] = { "characterID" => character_id } super(opts) end |