Sha256: 8ee0fab19321b6bb21d9499aa78b2fb4311ffc683e713d3cd6cbb3a93abbe839

Contents?: true

Size: 814 Bytes

Versions: 2

Compression:

Stored size: 814 Bytes

Contents

# frozen_string_literal: true

module EveOnline
  module ESI
    module Models
      class Ancestry < Base
        def as_json
          {
            bloodline_id: bloodline_id,
            description: description,
            icon_id: icon_id,
            ancestry_id: ancestry_id,
            name: name,
            short_description: short_description,
          }
        end

        def bloodline_id
          options["bloodline_id"]
        end

        def description
          options["description"]
        end

        def icon_id
          options["icon_id"]
        end

        def ancestry_id
          options["id"]
        end

        def name
          options["name"]
        end

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