Class: DropboxApi::Results::BasicAccountBatch

Inherits:
Array
  • Object
show all
Defined in:
lib/dropbox_api/results/basic_account_batch.rb

Instance Method Summary collapse

Constructor Details

#initialize(accounts) ⇒ BasicAccountBatch

Returns a new instance of BasicAccountBatch.


3
4
5
# File 'lib/dropbox_api/results/basic_account_batch.rb', line 3

def initialize(accounts)
  super(accounts.map { |a| DropboxApi::Metadata::BasicAccount.new a })
end