Sha256: 464135f23880fd5e868a3b2c7d69b06235001ce6063e3298fbf4d3e5d77a0bd9
Contents?: true
Size: 689 Bytes
Versions: 2
Compression:
Stored size: 689 Bytes
Contents
module EveOnline module Sovereignty # TODO: WTF? where docs??? # https://developers.eveonline.com/blog/article/aegis-sovereignty-api-changes class Campaigns < BaseCREST API_ENDPOINT = 'https://crest-tq.eveonline.com/sovereignty/campaigns/'.freeze # TODO: return array of objects def items @items ||= response.fetch('items') end # TODO: recheck this and maybe remove as unneeded def page_count response.fetch('pageCount') end # TODO: recheck this and maybe remove as unneeded def total_count response.fetch('totalCount') end def url API_ENDPOINT end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
eve_online-0.8.0 | lib/eve_online/sovereignty/campaigns.rb |
eve_online-0.7.0 | lib/eve_online/sovereignty/campaigns.rb |