Sha256: 413807115c22e9cb64fe85845153f8ca352b235ac5c8200cb9bcd317dbac7b36

Contents?: true

Size: 402 Bytes

Versions: 1

Compression:

Stored size: 402 Bytes

Contents

# frozen_string_literal: true

module EveOnline
  module ESI
    module Models
      class AllianceIcon < Base
        def as_json
          {
            icon_medium: icon_medium,
            icon_small: icon_small,
          }
        end

        def icon_medium
          options['px128x128']
        end

        def icon_small
          options['px64x64']
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
eve_online-0.17.0 lib/eve_online/esi/models/alliance_icon.rb