Sha256: 6ff11b6e2f2c4f40d18b5c67ecc853512fb11e138557541c122f18ed6ab865e4

Contents?: true

Size: 539 Bytes

Versions: 12

Compression:

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

12 entries across 12 versions & 1 rubygems

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