lemonwaysas / ruby-client-directkit-string

Ruby example calling DirectKit API
MIT License
3 stars 4 forks source link

Lemonway::Client::Error: key not found: :money_in_with_card_id_result #8

Closed gponsu closed 8 years ago

gponsu commented 8 years ago

Patched in this PR: https://github.com/lemonwaysas/ruby-client-directkit-string/pull/7

Lemonway::Client::Error: key not found: :money_in_with_card_id_result, expected `money_in_with_card_id_response.money_in_with_card_id_result` but got : {:money_in_with_card_id_response=>{:money_in_result=>{:e=>{:error=>nil, :code=>"248", :msg=>"Wrong IP format", :prio=>"2"}}, :@xmlns=>"Service_mb_xml"}}
    from /app/lib/lemonway/client.rb:56:in `rescue in client_call'
    from /app/lib/lemonway/client.rb:38:in `client_call'
    from /app/lib/lemonway/client.rb:29:in `method_missing'
    from (irb):20
    from /usr/local/bin/irb:11:in `<main>'