Sha256: 872455ab5ce556ace4ac276cff8bc3094738f67e6aa6b883a40be6a97cf3f8eb
Contents?: true
Size: 678 Bytes
Versions: 4
Compression:
Stored size: 678 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 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
4 entries across 4 versions & 1 rubygems