Sha256: e9b7f08c11103115a4cb8385f19dba113481e54caa351b2633611f033f0a541c

Contents?: true

Size: 1.28 KB

Versions: 16

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

16 entries across 16 versions & 1 rubygems

Version Path
eve_online-0.46.0 lib/eve_online/esi/models/bloodline.rb
eve_online-0.45.0 lib/eve_online/esi/models/bloodline.rb
eve_online-0.44.0 lib/eve_online/esi/models/bloodline.rb
eve_online-0.43.0 lib/eve_online/esi/models/bloodline.rb
eve_online-0.42.0 lib/eve_online/esi/models/bloodline.rb
eve_online-0.41.0 lib/eve_online/esi/models/bloodline.rb
eve_online-0.40.0 lib/eve_online/esi/models/bloodline.rb
eve_online-0.39.0 lib/eve_online/esi/models/bloodline.rb
eve_online-0.38.0 lib/eve_online/esi/models/bloodline.rb
eve_online-0.37.0 lib/eve_online/esi/models/bloodline.rb
eve_online-0.36.0 lib/eve_online/esi/models/bloodline.rb
eve_online-0.35.1 lib/eve_online/esi/models/bloodline.rb
eve_online-0.35.0 lib/eve_online/esi/models/bloodline.rb
eve_online-0.34.0 lib/eve_online/esi/models/bloodline.rb
eve_online-0.33.0 lib/eve_online/esi/models/bloodline.rb
eve_online-0.32.0 lib/eve_online/esi/models/bloodline.rb