module Digdag::Client::Session
Public Instance Methods
get_session(id)
click to toggle source
# File lib/digdag_client/client/session.rb, line 12 def get_session(id) get("sessions/#{id}") end
get_session_attempts(id, last_id)
click to toggle source
# File lib/digdag_client/client/session.rb, line 16 def get_session_attempts(id, last_id) options = {} if last_id options[:last_id] = last_id end get("sessions/#{id}/attempts", options) end
get_sessions(last_id = nil)
click to toggle source
# File lib/digdag_client/client/session.rb, line 4 def get_sessions(last_id = nil) options = {} if last_id options[:last_id] = last_id end get('sessions', options)['sessions'] end