Class: Greeve::Character::UpcomingCalendarEvents

Inherits:
BaseItem
  • Object
show all
Defined in:
lib/greeve/character/upcoming_calendar_events.rb

Overview

Character upcoming calendar events.

Instance Method Summary collapse

Methods inherited from BaseItem

attribute, #cache_expired?, #cached_until, endpoint, #inspect, namespace, #refresh, rowset, #to_s

Methods included from Helpers::AttributeToHash

#to_h

Constructor Details

#initialize(character_id, opts = {}) ⇒ UpcomingCalendarEvents

Returns a new instance of UpcomingCalendarEvents.

Parameters:

  • character_id (Integer)

    EVE character ID



25
26
27
28
# File 'lib/greeve/character/upcoming_calendar_events.rb', line 25

def initialize(character_id, opts = {})
  opts[:query_params] = { "characterID" => character_id }
  super(opts)
end