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