Sha256: 502749b25e4a8b324cb0a86f549fb7bd3699f90155c751b1c6a9960821cad363

Contents?: true

Size: 394 Bytes

Versions: 11

Compression:

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

11 entries across 11 versions & 1 rubygems

Version Path
eve_online-0.29.0 lib/eve_online/esi/models/position.rb
eve_online-0.28.0 lib/eve_online/esi/models/position.rb
eve_online-0.27.0 lib/eve_online/esi/models/position.rb
eve_online-0.26.0 lib/eve_online/esi/models/position.rb
eve_online-0.25.0 lib/eve_online/esi/models/position.rb
eve_online-0.24.0 lib/eve_online/esi/models/position.rb
eve_online-0.23.0 lib/eve_online/esi/models/position.rb
eve_online-0.22.0 lib/eve_online/esi/models/position.rb
eve_online-0.21.0 lib/eve_online/esi/models/position.rb
eve_online-0.20.0 lib/eve_online/esi/models/position.rb
eve_online-0.19.0 lib/eve_online/esi/models/position.rb