Class: EveOnline::ESI::Models::MailRecipient
- Inherits:
-
Base
- Object
- Base
- EveOnline::ESI::Models::MailRecipient
show all
- Defined in:
- lib/eve_online/esi/models/mail_recipient.rb
Instance Attribute Summary
Attributes inherited from Base
#options
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#as_json ⇒ Object
7
8
9
10
11
12
|
# File 'lib/eve_online/esi/models/mail_recipient.rb', line 7
def as_json
{
recipient_id: recipient_id,
recipient_type: recipient_type
}
end
|
#recipient_id ⇒ Object
14
15
16
|
# File 'lib/eve_online/esi/models/mail_recipient.rb', line 14
def recipient_id
options["recipient_id"]
end
|
#recipient_type ⇒ Object
18
19
20
|
# File 'lib/eve_online/esi/models/mail_recipient.rb', line 18
def recipient_type
options["recipient_type"]
end
|