Sha256: bf6b5529a7e76a0a53d68f1939eecf5924fdcd34d1fdb81872387774d1304561

Contents?: true

Size: 556 Bytes

Versions: 1

Compression:

Stored size: 556 Bytes

Contents

# frozen_string_literal: true

module EveOnline
  module ESI
    module Models
      class Region < Base
        def as_json
          {
            description: description,
            name: name,
            region_id: region_id,
          }
        end

        def description
          options["description"]
        end

        def name
          options["name"]
        end

        def region_id
          options["region_id"]
        end

        def constellation_ids
          options["constellations"]
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
eve_online-0.31.0 lib/eve_online/esi/models/region.rb