Sha256: 9e8e1a94c277ad59c29bd04d97471b13409f1075b71f23cff47c1ebee465b877
Contents?: true
Size: 300 Bytes
Versions: 8
Compression:
Stored size: 300 Bytes
Contents
module HackerOne module Client class User delegate :username, to: :attributes def initialize(user) @user = user end def id @user[:id] end private def attributes OpenStruct.new(@user[:attributes]) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems