Class: Greeve::Character::ContactNotifications
- Defined in:
- lib/greeve/character/contact_notifications.rb
Overview
Notifications received when having been added to someone’s contact list.
Instance Method Summary collapse
-
#initialize(character_id, opts = {}) ⇒ ContactNotifications
constructor
A new instance of ContactNotifications.
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 = {}) ⇒ ContactNotifications
Returns a new instance of ContactNotifications.
20 21 22 23 |
# File 'lib/greeve/character/contact_notifications.rb', line 20 def initialize(character_id, opts = {}) opts[:query_params] = { "characterID" => character_id } super(opts) end |