Class: EveOnline::ESI::Bloodlines

Inherits:
Base
  • Object
show all
Defined in:
lib/eve_online/esi/bloodlines.rb

Constant Summary collapse

API_ENDPOINT =
'https://esi.tech.ccp.is/v1/universe/bloodlines/?datasource=tranquility&language=en-us'

Instance Attribute Summary

Attributes inherited from Base

#parser, #token

Instance Method Summary collapse

Methods inherited from Base

#content, #initialize, #response, #user_agent

Constructor Details

This class inherits a constructor from EveOnline::ESI::Base

Instance Method Details

#bloodlinesObject



8
9
10
11
12
13
14
# File 'lib/eve_online/esi/bloodlines.rb', line 8

def bloodlines
  output = []
  response.each do |bloodline|
    output << Models::Bloodline.new(bloodline)
  end
  output
end

#scopeObject



17
# File 'lib/eve_online/esi/bloodlines.rb', line 17

def scope; end

#urlObject



19
20
21
# File 'lib/eve_online/esi/bloodlines.rb', line 19

def url
  API_ENDPOINT
end