Method: Hive::Broadcast.change_recovery_account
- Defined in:
- lib/hive/broadcast.rb
.change_recovery_account(options, &block) ⇒ Object
Each account lists another account as their recovery account.
938 939 940 941 942 943 944 945 946 947 948 |
# File 'lib/hive/broadcast.rb', line 938 def self.change_recovery_account(, &block) required_fields = %i(account_to_recover) params = [:params] check_required_fields(params, *required_fields) params[:new_recovery_account] ||= '' params[:extensions] ||= [] ops = [[:change_recovery_account, params]] process(.merge(ops: ops), &block) end |