Sha256: 75d5407205cd3219ccae4cde45d8e36eb06111bf0a161142bc56f398ab3636d2

Contents?: true

Size: 499 Bytes

Versions: 2

Compression:

Stored size: 499 Bytes

Contents

# frozen_string_literal: true

module EveOnline
  module ESI
    class Bloodlines < Base
      API_ENDPOINT = 'https://esi.evetech.net/v1/universe/bloodlines/?datasource=%<datasource>s'

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

      def scope; end

      def url
        format(API_ENDPOINT, datasource: datasource)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
eve_online-0.20.0 lib/eve_online/esi/bloodlines.rb
eve_online-0.19.0 lib/eve_online/esi/bloodlines.rb