Method: Chain::Account::ClientModule#create
- Defined in:
- lib/chain/account.rb
#create(opts) ⇒ Account
44 45 46 47 |
# File 'lib/chain/account.rb', line 44 def create(opts) opts = {client_token: SecureRandom.uuid}.merge(opts) client.conn.singleton_batch_request('create-account', [opts]) { |item| Account.new(item) } end |