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.



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

#aliasObject



22
23
24
# File 'lib/change_health/response/trading_partner/trading_partner_data.rb', line 22

def alias
  @raw['alias']
end

#line_of_businessObject



26
27
28
# File 'lib/change_health/response/trading_partner/trading_partner_data.rb', line 26

def line_of_business
  @raw['lineOfBusiness']
end

#nameObject



10
11
12
# File 'lib/change_health/response/trading_partner/trading_partner_data.rb', line 10

def name
  @raw['businessName']
end

#plan_typeObject



30
31
32
# File 'lib/change_health/response/trading_partner/trading_partner_data.rb', line 30

def plan_type
  @raw['planType']
end

#service_idObject



14
15
16
# File 'lib/change_health/response/trading_partner/trading_partner_data.rb', line 14

def service_id
  @raw['serviceId']
end

#service_nameObject



18
19
20
# File 'lib/change_health/response/trading_partner/trading_partner_data.rb', line 18

def service_name
  @raw['serviceName']
end