Sha256: da7b9846993b4a8a5b1ce05e3750444ddd1e7a2001c7e496264b884038f9f6d5

Contents?: true

Size: 388 Bytes

Versions: 2

Compression:

Stored size: 388 Bytes

Contents

# frozen_string_literal: true

module EveOnline
  module ESI
    module Models
      class OfferRequiredItem < Base
        def as_json
          {
            quantity: quantity,
            type_id: type_id,
          }
        end

        def quantity
          options["quantity"]
        end

        def type_id
          options["type_id"]
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
eve_online-0.31.0 lib/eve_online/esi/models/offer_required_item.rb
eve_online-0.30.0 lib/eve_online/esi/models/offer_required_item.rb