Class: ChangeHealth::Response::TradingPartnersData

Inherits:
Array
  • Object
show all
Defined in:
lib/change_health/response/trading_partner/trading_partners_data.rb

Instance Method Summary collapse

Constructor Details

#initialize(trading_partners) ⇒ TradingPartnersData

Returns a new instance of TradingPartnersData.



4
5
6
# File 'lib/change_health/response/trading_partner/trading_partners_data.rb', line 4

def initialize(trading_partners)
  super(trading_partners.map { |trading_partner| ChangeHealth::Response::TradingPartnerData.new(trading_partner) })
end