Sha256: f863c36c44a7d70a76deeaf5d53ad970ebe74192e9789a5c11bb5fb5afd1d03d

Contents?: true

Size: 679 Bytes

Versions: 2

Compression:

Stored size: 679 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

2 entries across 2 versions & 1 rubygems

Version Path
eve_online-0.31.0 lib/eve_online/esi/models/jump_clone.rb
eve_online-0.30.0 lib/eve_online/esi/models/jump_clone.rb