Class: EveOnline::ESI::Models::Group
- Inherits:
-
Base
- Object
- Base
- EveOnline::ESI::Models::Group
show all
- Defined in:
- lib/eve_online/esi/models/group.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/group.rb', line 7
def as_json
{
category_id: category_id,
group_id: group_id,
name: name,
published: published
}
end
|
#category_id ⇒ Object
16
17
18
|
# File 'lib/eve_online/esi/models/group.rb', line 16
def category_id
options["category_id"]
end
|
#group_id ⇒ Object
20
21
22
|
# File 'lib/eve_online/esi/models/group.rb', line 20
def group_id
options["group_id"]
end
|
#name ⇒ Object
24
25
26
|
# File 'lib/eve_online/esi/models/group.rb', line 24
def name
options["name"]
end
|
#published ⇒ Object
28
29
30
|
# File 'lib/eve_online/esi/models/group.rb', line 28
def published
options["published"]
end
|
#type_ids ⇒ Object
32
33
34
|
# File 'lib/eve_online/esi/models/group.rb', line 32
def type_ids
options["types"]
end
|