Displaying 1 result from an estimated 1 matches for "send_to_api".
Did you mean:
send_to_all
2008 Aug 26
5
undefined method
...as an argument
(example two Login 2), I get "undefined method `command_string'' for
#<SOAP::RPC::Driver:0x316dc28>"
"Login" is a legit method for the SOAP::RPC::Driver. Do I need to do
something to variable first?
def login2
command_string = "Login"
send_to_api(command_string)
end
def send_to_api(command_string)
results = @driver.command_string(username, password)
end
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to thi...