Sha256: 0ec5c6ad28f6cdfa9339c41d9278005e6e7ddfbe7f1a4d18437bb0efb25e33a6
Contents?: true
Size: 729 Bytes
Versions: 2
Compression:
Stored size: 729 Bytes
Contents
# frozen_string_literal: true module EveOnline module ESI class CorporationLoyaltyStoreOffers < Base API_PATH = '/v1/loyalty/stores/%<corporation_id>s/offers/' attr_reader :corporation_id def initialize(options = {}) super @corporation_id = options.fetch(:corporation_id) end def offers @offers ||= begin output = [] response.each do |offer| output << Models::LoyaltyStoreOffer.new(offer) end output end end def scope; end def roles [] end def path format("#{ API_PATH }", corporation_id: corporation_id) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
eve_online-0.29.0 | lib/eve_online/esi/corporation_loyalty_store_offers.rb |
eve_online-0.28.0 | lib/eve_online/esi/corporation_loyalty_store_offers.rb |