Sha256: bce81d1615c8d28a77f3a3f544ee78a1818129649a22d1a99af5b52dd11ca47c
Contents?: true
Size: 714 Bytes
Versions: 1
Compression:
Stored size: 714 Bytes
Contents
module EveOnline module ESI class CorporationBlueprints < Base API_ENDPOINT = 'https://esi.tech.ccp.is/v1/corporations/%<corporation_id>s/blueprints/?datasource=tranquility&page=1'.freeze attr_reader :corporation_id def initialize(options) super @corporation_id = options[:corporation_id] end def blueprints output = [] response.each do |blueprint| output << Models::Blueprint.new(blueprint) end output end memoize :blueprints def scope 'esi-corporations.read_blueprints.v1' end def url format(API_ENDPOINT, corporation_id: corporation_id) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
eve_online-0.14.0 | lib/eve_online/esi/corporation_blueprints.rb |