Method: PortalModule::Rake::LoanEntryTasks#required_args_for_action

Defined in:
lib/portal_module/rake/loan_entry_tasks.rb

#required_args_for_actionObject



127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
# File 'lib/portal_module/rake/loan_entry_tasks.rb', line 127

def required_args_for_action
  args = []

  case action
  when 'upload'
    args << :org
    args << :path

  when 'download'
    args << :org
    args << :path

  else
    # Noop
  end

  args
end