Sha256: 9b8cf0a4634ed33d08f1c1ed8be3560aad2acef0fc252761bb918fa216dc70dd
Contents?: true
Size: 419 Bytes
Versions: 10
Compression:
Stored size: 419 Bytes
Contents
# frozen_string_literal: true module HackerOne module Client class Reporter delegate :username, :name, :created_at, to: :attributes def initialize(reporter) @reporter = reporter end def id @reporter[:id] end def attributes OpenStruct.new(@reporter[:attributes]) end def disabled? attributes.disabled end end end end
Version data entries
10 entries across 10 versions & 1 rubygems