Class: Greeve::Character::MailMessages

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

Overview

The header of eve mail messages sent to the character.

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 = {}) ⇒ MailMessages

Returns a new instance of MailMessages.

Parameters:

  • character_id (Integer)

    EVE character ID



23
24
25
26
# File 'lib/greeve/character/mail_messages.rb', line 23

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