class Passfort::Endpoint::Tasks
Public Class Methods
new(client)
click to toggle source
# File lib/passfort/endpoint/tasks.rb, line 6 def initialize(client) @client = client end
Public Instance Methods
find(profile_id:, task_id:)
click to toggle source
# File lib/passfort/endpoint/tasks.rb, line 10 def find(profile_id:, task_id:) response = @client.get("/profiles/#{profile_id}/tasks/#{task_id}") Passfort::Resource::Task.new(response) end