Sha256: 43641dc2d8faa8fa34d3d07badf9062e35fd3a98ccef7461937f195a56519c99

Contents?: true

Size: 1.06 KB

Versions: 10

Compression:

Stored size: 1.06 KB

Contents

# frozen_string_literal: true

module EveOnline
  module ESI
    module Models
      class Graphic < Base
        def as_json
          {
            collision_file: collision_file,
            graphic_file: graphic_file,
            graphic_id: graphic_id,
            icon_folder: icon_folder,
            sof_dna: sof_dna,
            sof_fation_name: sof_fation_name,
            sof_hull_name: sof_hull_name,
            sof_race_name: sof_race_name
          }
        end

        def collision_file
          options['collision_file']
        end

        def graphic_file
          options['graphic_file']
        end

        def graphic_id
          options['graphic_id']
        end

        def icon_folder
          options['icon_folder']
        end

        def sof_dna
          options['sof_dna']
        end

        def sof_fation_name
          options['sof_fation_name']
        end

        def sof_hull_name
          options['sof_hull_name']
        end

        def sof_race_name
          options['sof_race_name']
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

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