Sha256: 0f21e349b2b5c672d56cd3f60459ee4879f05472349b66208c78a8258abb8258
Contents?: true
Size: 509 Bytes
Versions: 2
Compression:
Stored size: 509 Bytes
Contents
module HubLink module Api class ReviewRequest attr_reader :id, :reviewer, :requester, :created_at, :pull_request_id def initialize(id:, reviewer:, requester:, created_at:, pull_request_id:) @id = id @reviewer = reviewer @requester = requester @created_at = created_at @pull_request_id = pull_request_id end def to_h Slicer.new(self, columns: %i(id reviewer requester created_at pull_request_id)).to_h end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hub_link-0.9.1 | lib/hub_link/api/review_request.rb |
hub_link-0.9.0 | lib/hub_link/api/review_request.rb |