Sha256: e1dd26424b80ef1e834b54487eae92b2b73bf85843eb56bc33448e8017a58a5d

Contents?: true

Size: 379 Bytes

Versions: 11

Compression:

Stored size: 379 Bytes

Contents

# frozen_string_literal: true

module EveOnline
  module ESI
    module Models
      class AssetLocation < Base
        def as_json
          {
            item_id: item_id
          }
        end

        def item_id
          options['item_id']
        end

        def position
          @position ||= Position.new(options['position'])
        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/asset_location.rb
eve_online-0.28.0 lib/eve_online/esi/models/asset_location.rb
eve_online-0.27.0 lib/eve_online/esi/models/asset_location.rb
eve_online-0.26.0 lib/eve_online/esi/models/asset_location.rb
eve_online-0.25.0 lib/eve_online/esi/models/asset_location.rb
eve_online-0.24.0 lib/eve_online/esi/models/asset_location.rb
eve_online-0.23.0 lib/eve_online/esi/models/asset_location.rb
eve_online-0.22.0 lib/eve_online/esi/models/asset_location.rb
eve_online-0.21.0 lib/eve_online/esi/models/asset_location.rb
eve_online-0.20.0 lib/eve_online/esi/models/asset_location.rb
eve_online-0.19.0 lib/eve_online/esi/models/asset_location.rb