Sha256: 428535bd12c171e1fef3c31df92f160587c28c5d818af9dc9722687f62f35ab3

Contents?: true

Size: 340 Bytes

Versions: 2

Compression:

Stored size: 340 Bytes

Contents

module EveOnline
  module ESI
    module Models
      class AllianceIcon < Base
        def as_json
          {
            small: small,
            medium: medium
          }
        end

        def small
          options['px64x64']
        end

        def medium
          options['px128x128']
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
eve_online-0.14.0 lib/eve_online/esi/models/alliance_icon.rb
eve_online-0.13.0 lib/eve_online/esi/models/alliance_icon.rb