Class: EacRest::Entity
- Inherits:
-
Object
- Object
- EacRest::Entity
- Defined in:
- lib/eac_rest/entity.rb
Class Method Summary collapse
Class Method Details
.from_array_data(api, array_data, *args) ⇒ Object
11 12 13 |
# File 'lib/eac_rest/entity.rb', line 11 def from_array_data(api, array_data, *args) array_data.map { |item_data| new(api, item_data, *args) } end |