Class: EveOnline::ESI::UniverseGroups
- Defined in:
- lib/eve_online/esi/universe_groups.rb
Constant Summary collapse
- API_PATH =
"/v1/universe/groups/"
Constants inherited from Base
Instance Attribute Summary collapse
-
#page ⇒ Object
readonly
Returns the value of attribute page.
Attributes inherited from Base
#_open_timeout, #_read_timeout, #_write_timeout, #adapter, #language, #middlewares, #token
Instance Method Summary collapse
- #additional_query_params ⇒ Object
- #group_ids ⇒ Object
-
#initialize(options = {}) ⇒ UniverseGroups
constructor
A new instance of UniverseGroups.
- #path ⇒ Object
- #scope ⇒ Object
Methods inherited from Base
#add_middleware, #base_query_params, #connection, #error_limit_remain, #error_limit_reset, #http_method, #open_timeout, #open_timeout=, #query, #read_timeout, #read_timeout=, #request_id, #resource, #response, #total_pages, #uri, #url, #user_agent, #write_timeout, #write_timeout=
Constructor Details
#initialize(options = {}) ⇒ UniverseGroups
Returns a new instance of UniverseGroups.
10 11 12 13 14 |
# File 'lib/eve_online/esi/universe_groups.rb', line 10 def initialize( = {}) super @page = .fetch(:page, 1) end |
Instance Attribute Details
#page ⇒ Object (readonly)
Returns the value of attribute page.
8 9 10 |
# File 'lib/eve_online/esi/universe_groups.rb', line 8 def page @page end |
Instance Method Details
#additional_query_params ⇒ Object
23 24 25 |
# File 'lib/eve_online/esi/universe_groups.rb', line 23 def additional_query_params [:page] end |
#group_ids ⇒ Object
16 17 18 |
# File 'lib/eve_online/esi/universe_groups.rb', line 16 def group_ids response end |
#path ⇒ Object
27 28 29 |
# File 'lib/eve_online/esi/universe_groups.rb', line 27 def path API_PATH end |
#scope ⇒ Object
20 21 |
# File 'lib/eve_online/esi/universe_groups.rb', line 20 def scope end |