Sha256: 9fa5aa0f7b06d99ce872897df06beb1a9e9e4dcc1a68daa14386f99f84e8c3a1

Contents?: true

Size: 813 Bytes

Versions: 13

Compression:

Stored size: 813 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

13 entries across 13 versions & 1 rubygems

Version Path
eve_online-0.29.0 lib/eve_online/esi/models/ancestry.rb
eve_online-0.28.0 lib/eve_online/esi/models/ancestry.rb
eve_online-0.27.0 lib/eve_online/esi/models/ancestry.rb
eve_online-0.26.0 lib/eve_online/esi/models/ancestry.rb
eve_online-0.25.0 lib/eve_online/esi/models/ancestry.rb
eve_online-0.24.0 lib/eve_online/esi/models/ancestry.rb
eve_online-0.23.0 lib/eve_online/esi/models/ancestry.rb
eve_online-0.22.0 lib/eve_online/esi/models/ancestry.rb
eve_online-0.21.0 lib/eve_online/esi/models/ancestry.rb
eve_online-0.20.0 lib/eve_online/esi/models/ancestry.rb
eve_online-0.19.0 lib/eve_online/esi/models/ancestry.rb
eve_online-0.18.0 lib/eve_online/esi/models/ancestry.rb
eve_online-0.17.0 lib/eve_online/esi/models/ancestry.rb