Sha256: ff56c5e5f2c344863f353f9ac6eebd5319dbd7ad32302006cd7ebaa7376c95a9

Contents?: true

Size: 419 Bytes

Versions: 2

Compression:

Stored size: 419 Bytes

Contents

# frozen_string_literal: true

module EveOnline
  module ESI
    module Models
      class HomeLocation < Base
        def as_json
          {
            location_id: location_id,
            location_type: location_type,
          }
        end

        def location_id
          options["location_id"]
        end

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