Class: FjordBootCamp::Resources::TraineeProgresses

Inherits:
Base
  • Object
show all
Defined in:
lib/fjord_boot_camp/resources/trainee_progresses.rb

Instance Attribute Summary

Attributes inherited from Base

#client

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from FjordBootCamp::Resources::Base

Instance Method Details

#list(week_start: nil, company_id: nil) ⇒ Object

研修生の週次進捗を取得

Parameters:

  • week_start (String, nil) (defaults to: nil)

    対象週の開始日 (例: "2026-03-23")。省略時は今週

  • company_id (Integer, nil) (defaults to: nil)

    企業IDで絞り込み



11
12
13
14
15
16
# File 'lib/fjord_boot_camp/resources/trainee_progresses.rb', line 11

def list(week_start: nil, company_id: nil)
  params = {}
  params[:week_start] = week_start if week_start
  params[:company_id] = company_id if company_id
  get('/api/trainee_progresses', params)
end