Class: EveOnline::ESI::Models::LoyaltyStoreOffer

Inherits:
Base
  • Object
show all
Defined in:
lib/eve_online/esi/models/loyalty_store_offer.rb

Instance Attribute Summary

Attributes inherited from Base

#options

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from EveOnline::ESI::Models::Base

Instance Method Details

#ak_costObject



18
19
20
# File 'lib/eve_online/esi/models/loyalty_store_offer.rb', line 18

def ak_cost
  options["ak_cost"]
end

#as_jsonObject



7
8
9
10
11
12
13
14
15
16
# File 'lib/eve_online/esi/models/loyalty_store_offer.rb', line 7

def as_json
  {
    ak_cost: ak_cost,
    isk_cost: isk_cost,
    lp_cost: lp_cost,
    offer_id: offer_id,
    quantity: quantity,
    type_id: type_id
  }
end

#isk_costObject



22
23
24
# File 'lib/eve_online/esi/models/loyalty_store_offer.rb', line 22

def isk_cost
  options["isk_cost"]
end

#lp_costObject



26
27
28
# File 'lib/eve_online/esi/models/loyalty_store_offer.rb', line 26

def lp_cost
  options["lp_cost"]
end

#offer_idObject



30
31
32
# File 'lib/eve_online/esi/models/loyalty_store_offer.rb', line 30

def offer_id
  options["offer_id"]
end

#offer_required_itemsObject



42
43
44
# File 'lib/eve_online/esi/models/loyalty_store_offer.rb', line 42

def offer_required_items
  @offer_required_items ||= OfferRequiredItems.new(options["required_items"]).offer_required_items
end

#quantityObject



34
35
36
# File 'lib/eve_online/esi/models/loyalty_store_offer.rb', line 34

def quantity
  options["quantity"]
end

#type_idObject



38
39
40
# File 'lib/eve_online/esi/models/loyalty_store_offer.rb', line 38

def type_id
  options["type_id"]
end