Sha256: c80b684d6c528b5134bf0a3d90c1317230de00e54f0435e06e17690b5016a8dc

Contents?: true

Size: 703 Bytes

Versions: 13

Compression:

Stored size: 703 Bytes

Contents

# frozen_string_literal: true

module EveOnline
  module ESI
    module Models
      class Skill < Base
        def as_json
          {
            active_skill_level: active_skill_level,
            skill_id: skill_id,
            skillpoints_in_skill: skillpoints_in_skill,
            trained_skill_level: trained_skill_level
          }
        end

        def active_skill_level
          options['active_skill_level']
        end

        def skill_id
          options['skill_id']
        end

        def skillpoints_in_skill
          options['skillpoints_in_skill']
        end

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