Class: EveOnline::ESI::Models::CharacterCorporationHistory
- Inherits:
-
Base
- Object
- Base
- EveOnline::ESI::Models::CharacterCorporationHistory
show all
- Defined in:
- lib/eve_online/esi/models/character_corporation_history.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
13
14
|
# File 'lib/eve_online/esi/models/character_corporation_history.rb', line 7
def as_json
{
corporation_id: corporation_id,
is_deleted: is_deleted,
record_id: record_id,
start_date: start_date
}
end
|
#corporation_id ⇒ Object
16
17
18
|
# File 'lib/eve_online/esi/models/character_corporation_history.rb', line 16
def corporation_id
options["corporation_id"]
end
|
#is_deleted ⇒ Object
20
21
22
|
# File 'lib/eve_online/esi/models/character_corporation_history.rb', line 20
def is_deleted
options["is_deleted"]
end
|
#record_id ⇒ Object
24
25
26
|
# File 'lib/eve_online/esi/models/character_corporation_history.rb', line 24
def record_id
options["record_id"]
end
|
#start_date ⇒ Object
28
29
30
31
32
|
# File 'lib/eve_online/esi/models/character_corporation_history.rb', line 28
def start_date
start_date = options["start_date"]
parse_datetime_with_timezone(start_date) if start_date
end
|