Class: Greeve::Corporation::StarbaseDetail

Inherits:
BaseItem
  • Object
show all
Defined in:
lib/greeve/corporation/starbase_detail.rb

Overview

Details for a starbase.

Instance Method Summary collapse

Methods inherited from BaseItem

attribute, #cache_expired?, #cached_until, endpoint, #inspect, namespace, #refresh, rowset, #to_s

Methods included from Helpers::AttributeToHash

#to_h

Constructor Details

#initialize(item_id, opts = {}) ⇒ StarbaseDetail

Returns a new instance of StarbaseDetail.

Parameters:



51
52
53
54
55
# File 'lib/greeve/corporation/starbase_detail.rb', line 51

def initialize(item_id, opts = {})
  opts[:query_params] = { "itemID" => item_id }

  super(opts)
end