Sha256: 79175ef3d8e580bcfde9c6f773c27ab7df0dae420439eaa429852009d25844a8

Contents?: true

Size: 540 Bytes

Versions: 2

Compression:

Stored size: 540 Bytes

Contents

# frozen_string_literal: true

module EveOnline
  module ESI
    module Models
      class CharacterLocation < Base
        def as_json
          {
            solar_system_id: solar_system_id,
            station_id: station_id,
            structure_id: structure_id,
          }
        end

        def solar_system_id
          options["solar_system_id"]
        end

        def station_id
          options["station_id"]
        end

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