Sha256: 6c6d6c21b947bb8f9776e3e910aa87ea05ed0ddac0190811a81c332007622e56
Contents?: true
Size: 347 Bytes
Versions: 10
Compression:
Stored size: 347 Bytes
Contents
# frozen_string_literal: true module HackerOne module Client class Group delegate :name, :permissions, to: :attributes def initialize(group) @group = group end def id @group[:id] end private def attributes OpenStruct.new(@group[:attributes]) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems