Class: DropboxApi::Results::BasicAccountBatch
- Inherits:
-
Array
- Object
- Array
- DropboxApi::Results::BasicAccountBatch
- Defined in:
- lib/dropbox_api/results/basic_account_batch.rb
Instance Method Summary collapse
-
#initialize(accounts) ⇒ BasicAccountBatch
constructor
A new instance of BasicAccountBatch.
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 |