Class: Greeve::Corporation::StarbaseDetail
- Defined in:
- lib/greeve/corporation/starbase_detail.rb
Overview
Details for a starbase.
Instance Method Summary collapse
-
#initialize(item_id, opts = {}) ⇒ StarbaseDetail
constructor
A new instance of StarbaseDetail.
Methods inherited from BaseItem
attribute, #cache_expired?, #cached_until, endpoint, #inspect, namespace, #refresh, rowset, #to_s
Methods included from Helpers::AttributeToHash
Constructor Details
#initialize(item_id, opts = {}) ⇒ StarbaseDetail
Returns a new instance of StarbaseDetail.
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 |