Sha256: 64d09715d6164b8b999903868972c8950d14e0da58703015fd48038238addf1c

Contents?: true

Size: 807 Bytes

Versions: 3

Compression:

Stored size: 807 Bytes

Contents

# frozen_string_literal: true

module EveOnline
  module ESI
    module Models
      class LoyaltyStoreOffer < Base
        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

        def ak_cost
          options['ak_cost']
        end

        def isk_cost
          options['isk_cost']
        end

        def lp_cost
          options['lp_cost']
        end

        def offer_id
          options['offer_id']
        end

        def quantity
          options['quantity']
        end

        def type_id
          options['type_id']
        end

        # def required_items
        # end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
eve_online-0.29.0 lib/eve_online/esi/models/loyalty_store_offer.rb
eve_online-0.28.0 lib/eve_online/esi/models/loyalty_store_offer.rb
eve_online-0.27.0 lib/eve_online/esi/models/loyalty_store_offer.rb