Sha256: 1de3ff88833d02754f5d585e2389a92bd905016a255728b5b16082fd662a1e2b
Contents?: true
Size: 387 Bytes
Versions: 7
Compression:
Stored size: 387 Bytes
Contents
module HubLink module Api class ReviewRequest attr_reader :created_at, :user, :id def initialize(id:, created_at:, user:) @id = id @created_at = created_at @user = user end def reviewer user.login end def to_h Slicer.new(self, columns: %i(id user created_at reviewer)).to_h end end end end
Version data entries
7 entries across 7 versions & 1 rubygems