Class: ChangeHealth::Response::TradingPartnerData

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

Instance Method Summary collapse

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

#aliasObject



20
21
22
# File 'lib/change_health/response/trading_partner/trading_partner_data.rb', line 20

def alias
  @raw['alias']
end

#line_of_businessObject



24
25
26
# File 'lib/change_health/response/trading_partner/trading_partner_data.rb', line 24

def line_of_business
  @raw['lineOfBusiness']
end

#nameObject



8
9
10
# File 'lib/change_health/response/trading_partner/trading_partner_data.rb', line 8

def name
  @raw['businessName']
end

#plan_typeObject



28
29
30
# File 'lib/change_health/response/trading_partner/trading_partner_data.rb', line 28

def plan_type
  @raw['planType']
end

#service_idObject



12
13
14
# File 'lib/change_health/response/trading_partner/trading_partner_data.rb', line 12

def service_id
  @raw['serviceId']
end

#service_nameObject



16
17
18
# File 'lib/change_health/response/trading_partner/trading_partner_data.rb', line 16

def service_name
  @raw['serviceName']
end