I am using zuora official gem "zuora_api" (https://connect.zuora.com/innovate)
however, when I create a zuora client with the following example code: zuora_client = Zuora::Login.new("username", "password", "endpoint")
I always get the error: NameError (uninitialized constant ClassName::Zuora):
how to solve it? and what is the "endpoint" should be in the above code (I am using sandbox)?
Solved! Go to Solution.
Re: zuora official gem usage
The documentation for that line appears to be out of date. I will take this under review to be updated. In the meantime the correct code would be the below:
zuora_client = ZuoraAPI::Login.new("username", "password","endpoint")