Sha256: ae58511256e8e517607631b2ff30eb16c28079337c4d617de276128442020d78
Contents?: true
Size: 677 Bytes
Versions: 2
Compression:
Stored size: 677 Bytes
Contents
# frozen_string_literal: true require 'forwardable' module EveOnline module ESI class UniverseGroup < Base extend Forwardable API_PATH = '/v1/universe/groups/%<group_id>s/' attr_reader :id def initialize(options = {}) super @id = options.fetch(:id) end def_delegators :model, :as_json, :category_id, :group_id, :name, :published, :type_ids def model @model ||= Models::Group.new(response) end def scope; end def additation_query_params [:language] end def path format("#{ API_PATH }", group_id: id) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
eve_online-0.29.0 | lib/eve_online/esi/universe_group.rb |
eve_online-0.28.0 | lib/eve_online/esi/universe_group.rb |