Class: EveOnline::ESI::Models::Category
- Inherits:
-
Base
- Object
- Base
- EveOnline::ESI::Models::Category
show all
- Defined in:
- lib/eve_online/esi/models/category.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
|
# File 'lib/eve_online/esi/models/category.rb', line 7
def as_json
{
category_id: category_id,
name: name,
published: published
}
end
|
#category_id ⇒ Object
15
16
17
|
# File 'lib/eve_online/esi/models/category.rb', line 15
def category_id
options["category_id"]
end
|
#group_ids ⇒ Object
27
28
29
|
# File 'lib/eve_online/esi/models/category.rb', line 27
def group_ids
options["groups"]
end
|
#name ⇒ Object
19
20
21
|
# File 'lib/eve_online/esi/models/category.rb', line 19
def name
options["name"]
end
|
#published ⇒ Object
23
24
25
|
# File 'lib/eve_online/esi/models/category.rb', line 23
def published
options["published"]
end
|