blob: f0b1de6a5a75e532a27ada550e37b8657683cdd5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# frozen_string_literal: true
module API
module Entities
module Ci
class ResetTokenResult < Grape::Entity
expose(:token)
expose(:token_expires_at, if: -> (object, options) { object.expirable? })
end
end
end
end
|