Class: EveCrest::Response::Region

Inherits:
BaseResponse show all
Defined in:
lib/responses/region.rb

Instance Attribute Summary

Attributes inherited from BaseResponse

#data

Instance Method Summary collapse

Methods inherited from BaseResponse

#cached_until, #error_message, #initialize, #raw, #success?

Constructor Details

This class inherits a constructor from EveCrest::BaseResponse

Instance Method Details

#constellationsObject



10
11
12
13
14
15
16
17
# File 'lib/responses/region.rb', line 10

def constellations
  #only returns an array constellation ids
  _constellations = Array.new
  data['constellations'].each do |s|
    _constellations.push(s['id'])
  end
  _constellations
end

#descriptionObject



7
8
9
# File 'lib/responses/region.rb', line 7

def description
  data['description']
end

#market_buy_ordersObject

market shit leave for now :)



19
20
21
# File 'lib/responses/region.rb', line 19

def market_buy_orders

end

#market_historyObject



22
23
24
# File 'lib/responses/region.rb', line 22

def market_history

end

#market_ordersObject



25
26
27
# File 'lib/responses/region.rb', line 25

def market_orders

end

#market_orders_allObject



28
29
30
# File 'lib/responses/region.rb', line 28

def market_orders_all

end

#market_sell_ordersObject



31
32
33
# File 'lib/responses/region.rb', line 31

def market_sell_orders

end

#nameObject



4
5
6
# File 'lib/responses/region.rb', line 4

def name
  data['name']
end