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.



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

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