Class: Armrest::CLI::BlobService
- Inherits:
-
Armrest::Command
- Object
- Thor
- Armrest::Command
- Armrest::CLI::BlobService
- Defined in:
- lib/armrest/cli/blob_service.rb
Instance Method Summary collapse
Methods inherited from Armrest::Command
alter_command_description, command_help, dispatch, exit_on_failure?, website
Instance Method Details
#get_properties ⇒ Object
7 8 9 10 |
# File 'lib/armrest/cli/blob_service.rb', line 7 def get_properties result = Armrest::Services::BlobService.new().get_properties puts JSON.pretty_generate(result) end |
#set_properties ⇒ Object
17 18 19 20 21 22 23 |
# File 'lib/armrest/cli/blob_service.rb', line 17 def set_properties props = .dup props.delete(:storage_account) resp = Armrest::Services::BlobService.new().set_properties(props) puts "resp:" pp resp end |