class MfCloud::Invoice::Collection::DepartmentCollection
Public Class Methods
new(collection_params = [])
click to toggle source
# File lib/mf_cloud/invoice/collection/department_collection.rb, line 5 def initialize(collection_params = []) @collection = collection_params.map do |department_params| MfCloud::Invoice::Model::Department.new(department_params) end end