Sha256: 9f268b5d37794f28418a5d36f55e17c6e58ce16cb54374417487a502557c8674

Contents?: true

Size: 1.28 KB

Versions: 13

Compression:

Stored size: 1.28 KB

Contents

# frozen_string_literal: true

module EveOnline
  module ESI
    module Models
      class Bloodline < Base
        def as_json
          {
            bloodline_id: bloodline_id,
            charisma: charisma,
            corporation_id: corporation_id,
            description: description,
            intelligence: intelligence,
            memory: memory,
            name: name,
            perception: perception,
            race_id: race_id,
            ship_type_id: ship_type_id,
            willpower: willpower
          }
        end

        def bloodline_id
          options['bloodline_id']
        end

        def charisma
          options['charisma']
        end

        def corporation_id
          options['corporation_id']
        end

        def description
          options['description']
        end

        def intelligence
          options['intelligence']
        end

        def memory
          options['memory']
        end

        def name
          options['name']
        end

        def perception
          options['perception']
        end

        def race_id
          options['race_id']
        end

        def ship_type_id
          options['ship_type_id']
        end

        def willpower
          options['willpower']
        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/bloodline.rb
eve_online-0.28.0 lib/eve_online/esi/models/bloodline.rb
eve_online-0.27.0 lib/eve_online/esi/models/bloodline.rb
eve_online-0.26.0 lib/eve_online/esi/models/bloodline.rb
eve_online-0.25.0 lib/eve_online/esi/models/bloodline.rb
eve_online-0.24.0 lib/eve_online/esi/models/bloodline.rb
eve_online-0.23.0 lib/eve_online/esi/models/bloodline.rb
eve_online-0.22.0 lib/eve_online/esi/models/bloodline.rb
eve_online-0.21.0 lib/eve_online/esi/models/bloodline.rb
eve_online-0.20.0 lib/eve_online/esi/models/bloodline.rb
eve_online-0.19.0 lib/eve_online/esi/models/bloodline.rb
eve_online-0.18.0 lib/eve_online/esi/models/bloodline.rb
eve_online-0.17.0 lib/eve_online/esi/models/bloodline.rb