Sha256: 88d1e82c0b0edb10e0aab6eaa8830b37bc7a2fd158492f5537e2b947ecb208fc
Contents?: true
Size: 660 Bytes
Versions: 17
Compression:
Stored size: 660 Bytes
Contents
# frozen_string_literal: true require "forwardable" module EveOnline module ESI class UniverseRegion < Base extend Forwardable API_PATH = "/v1/universe/regions/%<region_id>s/" attr_reader :id def initialize(options) super @id = options.fetch(:id) end def_delegators :model, :as_json, :description, :name, :region_id, :constellation_ids def model @model ||= Models::Region.new(response) end def scope end def additional_query_params [:language] end def path format(API_PATH, region_id: id) end end end end
Version data entries
17 entries across 17 versions & 1 rubygems