class Proz::PatchWiwoReply

Attributes

options[R]
token[R]
wiwo_id[R]
wiwo_reply_id[R]

Public Class Methods

new(token:, wiwo_id:, wiwo_reply_id:, **options) click to toggle source
# File lib/proz/patch_wiwo_reply.rb, line 8
def initialize(token:, wiwo_id:, wiwo_reply_id:, **options)
  @token = token
  @wiwo_id = wiwo_id
  @wiwo_reply_id = wiwo_reply_id
  @options = options
end

Public Instance Methods

patch() click to toggle source
# File lib/proz/patch_wiwo_reply.rb, line 15
def patch
  self.class.patch("/wiwo/#{wiwo_id}/replies/#{wiwo_reply_id}",
    body: options,
    headers: { 'Authorization' => "Bearer #{token}" } )
end