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.
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 |