F
Franck Yu
Hi,
I am creating a web site using Ruby on Rails and Paypal NVP API. I see
in Paypal SDK something like:
def nameOfaMethod
...
rescue
...
end
and I just want to make sure if it is correct. Usually rescue clause is
in a begin ... end block. Can def replace begin as begin has an end and
represents a block as well. Thanks!
Franck
I am creating a web site using Ruby on Rails and Paypal NVP API. I see
in Paypal SDK something like:
def nameOfaMethod
...
rescue
...
end
and I just want to make sure if it is correct. Usually rescue clause is
in a begin ... end block. Can def replace begin as begin has an end and
represents a block as well. Thanks!
Franck