Sha256: a1c96b5e6e93a8dc84db14482fc2c31d295b30dfce390a27c52c493f8b9dd67d

Contents?: true

Size: 395 Bytes

Versions: 2

Compression:

Stored size: 395 Bytes

Contents

# frozen_string_literal: true

module EveOnline
  module ESI
    module Models
      class Position < Base
        def as_json
          {
            x: x,
            y: y,
            z: z,
          }
        end

        def x
          options["x"]
        end

        def y
          options["y"]
        end

        def z
          options["z"]
        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/position.rb
eve_online-0.30.0 lib/eve_online/esi/models/position.rb