Class: Esi::GetFactions
- Inherits:
-
Download
- Object
- Download
- Esi::GetFactions
- Defined in:
- lib/gets/get_factions.rb
Instance Method Summary collapse
- #get_ids ⇒ Object
-
#initialize ⇒ GetFactions
constructor
A new instance of GetFactions.
Constructor Details
#initialize ⇒ GetFactions
Returns a new instance of GetFactions.
5 6 7 |
# File 'lib/gets/get_factions.rb', line 5 def initialize super( 'universe/factions/', {} ) end |
Instance Method Details
#get_ids ⇒ Object
9 10 11 |
# File 'lib/gets/get_factions.rb', line 9 def get_ids get_page.map{ |f| f['faction_id'] } end |