Sha256: 2d8adcf5ea2bac8775ec352bb73922850b99e9d3295234ee83710226891ac681

Contents?: true

Size: 401 Bytes

Versions: 12

Compression:

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

12 entries across 12 versions & 1 rubygems

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