Class: ChangeHealth::Response::TradingPartnersData
- Inherits:
-
Array
- Object
- Array
- ChangeHealth::Response::TradingPartnersData
- Defined in:
- lib/change_health/response/trading_partner/trading_partners_data.rb
Instance Method Summary collapse
-
#initialize(trading_partners) ⇒ TradingPartnersData
constructor
A new instance of TradingPartnersData.
Constructor Details
#initialize(trading_partners) ⇒ TradingPartnersData
Returns a new instance of TradingPartnersData.
6 7 8 9 10 |
# File 'lib/change_health/response/trading_partner/trading_partners_data.rb', line 6 def initialize(trading_partners) super((trading_partners || []).map do |trading_partner| ChangeHealth::Response::TradingPartnerData.new(trading_partner) end) end |