Class: Greeve::Corporation::CorporationSheet
- Defined in:
- lib/greeve/corporation/corporation_sheet.rb
Overview
Details for a specific corporation.
Instance Method Summary collapse
-
#initialize(corporation_id, opts = {}) ⇒ CorporationSheet
constructor
A new instance of CorporationSheet.
Methods inherited from BaseItem
attribute, #cache_expired?, #cached_until, endpoint, #inspect, namespace, #refresh, rowset, #to_s
Methods included from Helpers::AttributeToHash
Constructor Details
#initialize(corporation_id, opts = {}) ⇒ CorporationSheet
Returns a new instance of CorporationSheet.
37 38 39 40 |
# File 'lib/greeve/corporation/corporation_sheet.rb', line 37 def initialize(corporation_id, opts = {}) opts[:query_params] = { "corporationID" => corporation_id } super(opts) end |