Sha256: e79f03e802cbfa8aee60d316d9fcc9e21eb70ceb33b6c7904bca546461996c9b

Contents?: true

Size: 402 Bytes

Versions: 2

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

2 entries across 2 versions & 1 rubygems

Version Path
eve_online-0.31.0 lib/eve_online/esi/models/alliance_icon.rb
eve_online-0.30.0 lib/eve_online/esi/models/alliance_icon.rb