wirecardBrasil / moip-sdk-ruby

Cliente em Ruby para integração server-side com APIs Moip v2
MIT License
29 stars 27 forks source link

undefined method `start_with?' for nil:NilClass api.order.show("ORD-XXXXXXXXXXXX") #93

Open rickmax opened 4 years ago

rickmax commented 4 years ago

I don't know the reason this error, the connection and order value is valid.

gem 'moip2', '~> 1.3'

irb(main):110:0> @api.payment.show(transaction.authorization) Traceback (most recent call last): 2: from (irb):110 1: from (irb):110:inrescue in irb_binding' NoMethodError (undefined method start_with?' for nil:NilClass)