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.
6 7 8 |
# File 'lib/change_health/response/trading_partner/trading_partner_data.rb', line 6 def initialize(trading_partner_data) @raw = trading_partner_data end |
Instance Method Details
#alias ⇒ Object
22 23 24 |
# File 'lib/change_health/response/trading_partner/trading_partner_data.rb', line 22 def alias @raw['alias'] end |
#line_of_business ⇒ Object
26 27 28 |
# File 'lib/change_health/response/trading_partner/trading_partner_data.rb', line 26 def line_of_business @raw['lineOfBusiness'] end |
#name ⇒ Object
10 11 12 |
# File 'lib/change_health/response/trading_partner/trading_partner_data.rb', line 10 def name @raw['businessName'] end |
#plan_type ⇒ Object
30 31 32 |
# File 'lib/change_health/response/trading_partner/trading_partner_data.rb', line 30 def plan_type @raw['planType'] end |
#service_id ⇒ Object
14 15 16 |
# File 'lib/change_health/response/trading_partner/trading_partner_data.rb', line 14 def service_id @raw['serviceId'] end |
#service_name ⇒ Object
18 19 20 |
# File 'lib/change_health/response/trading_partner/trading_partner_data.rb', line 18 def service_name @raw['serviceName'] end |