Class: BunBun::CLI::StorageZoneCreate

Inherits:
Command
  • Object
show all
Defined in:
lib/bunbun/cli/storage_zone_create.rb

Instance Attribute Summary

Attributes inherited from Command

#options

Instance Method Summary collapse

Methods inherited from Command

argument_count, argument_names, option, #option_parser, options

Instance Method Details

#call(file) ⇒ Object



2
3
4
# File 'lib/bunbun/cli/storage_zone_create.rb', line 2

def call(file)
  client.storage_zone.create(read_body_params(file))
end