Sha256: a995015bab44e1d2c84367fd3826e8d1ab44f84e483200182309c7563e03f0ab

Contents?: true

Size: 596 Bytes

Versions: 8

Compression:

Stored size: 596 Bytes

Contents

# frozen_string_literal: true

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

        def constellations
          options['constellations']
        end

        def description
          options['description']
        end

        def name
          options['name']
        end

        def region_id
          options['region_id']
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
eve_online-0.25.0 lib/eve_online/esi/models/region.rb
eve_online-0.24.0 lib/eve_online/esi/models/region.rb
eve_online-0.23.0 lib/eve_online/esi/models/region.rb
eve_online-0.22.0 lib/eve_online/esi/models/region.rb
eve_online-0.21.0 lib/eve_online/esi/models/region.rb
eve_online-0.20.0 lib/eve_online/esi/models/region.rb
eve_online-0.19.0 lib/eve_online/esi/models/region.rb
eve_online-0.18.0 lib/eve_online/esi/models/region.rb