class Proz::DeleteWiwoReply

Attributes

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

Public Class Methods

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

Public Instance Methods

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