Class: Greeve::Eve::AllianceList
- Defined in:
- lib/greeve/eve/alliance_list.rb
Overview
Returns active alliances in New Eden and their member corporations.
Instance Method Summary collapse
-
#initialize(version, opts = {}) ⇒ AllianceList
constructor
A new instance of AllianceList.
Methods inherited from BaseItem
attribute, #cache_expired?, #cached_until, endpoint, #inspect, namespace, #refresh, rowset, #to_s
Methods included from Helpers::AttributeToHash
Constructor Details
#initialize(version, opts = {}) ⇒ AllianceList
Returns a new instance of AllianceList.
21 22 23 24 25 26 |
# File 'lib/greeve/eve/alliance_list.rb', line 21 def initialize(version, opts = {}) raise ArgumentError, "not implemented, use version=1" if version == 0 opts[:query_params] = { "version" => version } super(opts) end |