Sha256: e9a883d9de6b918319dc1707e73d5ed3244fd4c2aceed3f3784171d4d9a810ea

Contents?: true

Size: 398 Bytes

Versions: 2

Compression:

Stored size: 398 Bytes

Contents

# frozen_string_literal: true

module EveOnline
  module ESI
    module Models
      class DogmaAttributeShort < Base
        def as_json
          {
            attribute_id: attribute_id,
            value: value,
          }
        end

        def attribute_id
          options["attribute_id"]
        end

        def value
          options["value"]
        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/dogma_attribute_short.rb
eve_online-0.30.0 lib/eve_online/esi/models/dogma_attribute_short.rb