You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First I want to thank you for taking the time to release this publicly. I have been using it to create test NCPDP D.0 messages.
I believe the code at the following line will always fail since the initializer of DZero::Transmissions::Groups::TransactionGroup does not expect a hash, but instead keyword args.
To reproduce, I believe all you need to do is include any segment that is not Patient or Insurance in the transmission request segments(Pricing for example).
A similar error is in the README request construction example. The request initializer is expecting keyword args and not a hash.
The text was updated successfully, but these errors were encountered:
First I want to thank you for taking the time to release this publicly. I have been using it to create test NCPDP D.0 messages.
I believe the code at the following line will always fail since the initializer of
DZero::Transmissions::Groups::TransactionGroup
does not expect a hash, but instead keyword args.https://github.com/apiv/dzero/blob/master/lib/dzero/transmissions/concerns/segments_methods.rb#L61
If I change that line to the following it no longer fails
To reproduce, I believe all you need to do is include any segment that is not
Patient
orInsurance
in the transmission request segments(Pricing
for example).A similar error is in the README request construction example. The request initializer is expecting keyword args and not a hash.
The text was updated successfully, but these errors were encountered: