Sha256: f2208360ca76896596bd961432ad502a55e0703e14819d87b19736e0677b8c95

Contents?: true

Size: 1.25 KB

Versions: 2

Compression:

Stored size: 1.25 KB

Contents

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

        def bloodline_id
          options['bloodline_id']
        end

        def name
          options['name']
        end

        def description
          options['description']
        end

        def race_id
          options['race_id']
        end

        def ship_type_id
          options['ship_type_id']
        end

        def corporation_id
          options['corporation_id']
        end

        def perception
          options['perception']
        end

        def willpower
          options['willpower']
        end

        def charisma
          options['charisma']
        end

        def memory
          options['memory']
        end

        def intelligence
          options['intelligence']
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
eve_online-0.14.0 lib/eve_online/esi/models/bloodline.rb
eve_online-0.13.0 lib/eve_online/esi/models/bloodline.rb