Method: Stax::Cmd::Lambda#update
- Defined in:
- lib/stax/mixin/lambda.rb
#update(id, file) ⇒ Object
74 75 76 77 78 79 80 81 82 |
# File 'lib/stax/mixin/lambda.rb', line 74 def update(id, file) Aws::Lambda.update_code( function_name: my.resource(id), publish: [:publish], zip_file: zip_thing(file), )&.version.tap do |v| puts "version: #{v}" end end |