Class: Bkblz::Task::GetFileInfo
- Defined in:
- lib/bkblz/task/get_file_info.rb
Constant Summary
Constants included from ClassMethods
Instance Attribute Summary
Attributes inherited from BaseTask
Instance Method Summary collapse
Methods inherited from BaseTask
Methods included from ClassMethods
#check_one_of, #check_params, #check_required, #run, #task_param, #task_params
Methods included from TaskHelpers
Constructor Details
This class inherits a constructor from Bkblz::Task::BaseTask
Instance Method Details
#run_internal(session, params) ⇒ Object
7 8 9 10 |
# File 'lib/bkblz/task/get_file_info.rb', line 7 def run_internal(session, params) session.send(Bkblz::V1::GetFileInfoRequest.new(params[:file_id])) .to_model end |