Class: ChangeHealth::Response::TradingPartnerData
- Inherits:
-
Object
- Object
- ChangeHealth::Response::TradingPartnerData
- Defined in:
- lib/change_health/response/trading_partner/trading_partner_data.rb
Instance Method Summary collapse
- #alias ⇒ Object
-
#initialize(trading_partner_data) ⇒ TradingPartnerData
constructor
A new instance of TradingPartnerData.
- #line_of_business ⇒ Object
- #name ⇒ Object
- #plan_type ⇒ Object
- #service_id ⇒ Object
- #service_name ⇒ Object
Constructor Details
#initialize(trading_partner_data) ⇒ TradingPartnerData
Returns a new instance of TradingPartnerData.
4 5 6 |
# File 'lib/change_health/response/trading_partner/trading_partner_data.rb', line 4 def initialize(trading_partner_data) @raw = trading_partner_data end |
Instance Method Details
#alias ⇒ Object
20 21 22 |
# File 'lib/change_health/response/trading_partner/trading_partner_data.rb', line 20 def alias @raw['alias'] end |
#line_of_business ⇒ Object
24 25 26 |
# File 'lib/change_health/response/trading_partner/trading_partner_data.rb', line 24 def line_of_business @raw['lineOfBusiness'] end |
#name ⇒ Object
8 9 10 |
# File 'lib/change_health/response/trading_partner/trading_partner_data.rb', line 8 def name @raw['businessName'] end |
#plan_type ⇒ Object
28 29 30 |
# File 'lib/change_health/response/trading_partner/trading_partner_data.rb', line 28 def plan_type @raw['planType'] end |
#service_id ⇒ Object
12 13 14 |
# File 'lib/change_health/response/trading_partner/trading_partner_data.rb', line 12 def service_id @raw['serviceId'] end |
#service_name ⇒ Object
16 17 18 |
# File 'lib/change_health/response/trading_partner/trading_partner_data.rb', line 16 def service_name @raw['serviceName'] end |