Sha256: f94f0d0248052ead3aa071e917dc61f49cea3d523f3c8325c507f76d9896158d

Contents?: true

Size: 544 Bytes

Versions: 4

Compression:

Stored size: 544 Bytes

Contents

# frozen_string_literal: true

module EveOnline
  module ESI
    class UniverseBloodlines < Base
      API_PATH = '/v1/universe/bloodlines/?datasource=%<datasource>s'

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

      def scope; end

      def url
        format("#{ API_HOST }#{ API_PATH }", datasource: datasource)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
eve_online-0.27.0 lib/eve_online/esi/universe_bloodlines.rb
eve_online-0.26.0 lib/eve_online/esi/universe_bloodlines.rb
eve_online-0.25.0 lib/eve_online/esi/universe_bloodlines.rb
eve_online-0.24.0 lib/eve_online/esi/universe_bloodlines.rb