-
Notifications
You must be signed in to change notification settings - Fork 52
Description
I have an issue where I need to extract data from two different URL's for the same company.
Calling a new service, sending the service name and executing the query works fine for the first URL.
When running a second one ( With a new URL ), the execute method tries to retrieve the data still from the first URL, although the field names are now different in the 2nd one.
/usr/local/rvm/gems/ruby-2.4.0/gems/ruby_odata-0.1.0/lib/ruby_odata/service.rb:376:in
block in entry_to_class': undefined methodINSite_Formulaa0129565ae50e71181a00aec8e401db6=' for #NSco:0x000000033b0cd8 (NoMethodError)
I suspect it's to do with the dynamic creation of the instance variables via the instance_variable_names method.
When checking the edmx for both, they are indeed different.
Any suggestions to get this working?
Thanks.