mcorp / locasms

Client to consume LocaSMS api's
MIT License
4 stars 7 forks source link

Invalid login but with a valid account #2

Closed marciovicente closed 9 years ago

marciovicente commented 9 years ago

I'm trying send sms from a RoR application with locasms client. Look this code below:

 client_SMS = LocaSMS::Client.new 'XXXXXXX', Rails.application.secrets.sms_password
 client_SMS.balance 
   => NameError: uninitialized constant LocaSMS::RestClient::InvalidLogin

I can login in browser (with same login and password), but with ruby client, this code always returns the same exception.

Do you still supporting this gem? @vyper @adilsoncarvalho

Best regards!

vyper commented 9 years ago

You are using that login?

Login for api is different of login for dashboard.

marciovicente commented 9 years ago

@vyper, where can I get the login for API? I'm using login to dashboard. I can't access a dashboard specific to API.

vyper commented 9 years ago

@marciovicente try create other user checking api access...

image

marciovicente commented 9 years ago

I can't find this form. Where's the api access? I just found the general dashboard, without users manager. @vyper

vyper commented 9 years ago

I access this option on:

For more information, contact LocaSMS support...