Sha256: e3ce6475b0a5d98b3ba28e5177441ddde64dd321a7758e382262e45797252f5e

Contents?: true

Size: 678 Bytes

Versions: 6

Compression:

Stored size: 678 Bytes

Contents

# frozen_string_literal: true

module EveOnline
  module ESI
    module Models
      class JumpClone < Base
        def as_json
          {
            jump_clone_id: jump_clone_id,
            location_id: location_id,
            location_type: location_type,
            name: name
          }
        end

        def implant_ids
          options['implants']
        end

        def jump_clone_id
          options['jump_clone_id']
        end

        def location_id
          options['location_id']
        end

        def location_type
          options['location_type']
        end

        def name
          options['name']
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
eve_online-0.29.0 lib/eve_online/esi/models/jump_clone.rb
eve_online-0.28.0 lib/eve_online/esi/models/jump_clone.rb
eve_online-0.27.0 lib/eve_online/esi/models/jump_clone.rb
eve_online-0.26.0 lib/eve_online/esi/models/jump_clone.rb
eve_online-0.25.0 lib/eve_online/esi/models/jump_clone.rb
eve_online-0.24.0 lib/eve_online/esi/models/jump_clone.rb