Class: EveOnline::ESI::Models::LoyaltyStoreOffer
- Inherits:
-
Base
- Object
- Base
- EveOnline::ESI::Models::LoyaltyStoreOffer
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
Instance Method Details
#ak_cost ⇒ Object
18
19
20
|
# File 'lib/eve_online/esi/models/loyalty_store_offer.rb', line 18
def ak_cost
options["ak_cost"]
end
|
#as_json ⇒ Object
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_cost ⇒ Object
22
23
24
|
# File 'lib/eve_online/esi/models/loyalty_store_offer.rb', line 22
def isk_cost
options["isk_cost"]
end
|
#lp_cost ⇒ Object
26
27
28
|
# File 'lib/eve_online/esi/models/loyalty_store_offer.rb', line 26
def lp_cost
options["lp_cost"]
end
|
#offer_id ⇒ Object
30
31
32
|
# File 'lib/eve_online/esi/models/loyalty_store_offer.rb', line 30
def offer_id
options["offer_id"]
end
|
#offer_required_items ⇒ Object
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
|
#quantity ⇒ Object
34
35
36
|
# File 'lib/eve_online/esi/models/loyalty_store_offer.rb', line 34
def quantity
options["quantity"]
end
|
#type_id ⇒ Object
38
39
40
|
# File 'lib/eve_online/esi/models/loyalty_store_offer.rb', line 38
def type_id
options["type_id"]
end
|