Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use two users (APIUsername & Username) #14

Open
skipsuva opened this issue Sep 15, 2016 · 1 comment
Open

Unable to use two users (APIUsername & Username) #14

skipsuva opened this issue Sep 15, 2016 · 1 comment

Comments

@skipsuva
Copy link

I ran into this issue while building a feature for Learn.co. I needed to create a new Namecheap account, and then register a domain under that account, something which required having these two parameter have different values.

The global parameters (required) for "ApiUsername" and "Username" are hardcoded in the gem, so I had to manually use Faraday to make the requests.

I think the solution would be a conditional check for the "Username" global parameter coming from the client before assigning in the API configuration of the gem. I will take a stab at this.

@parasquid
Copy link
Owner

Hey, thanks!

I am gearing up for a v2 for this gem which takes into account most of the
issues.

Please take a stab at it, and I'll port it over to v2 :)

On Thursday, September 15, 2016, Skip Suva [email protected] wrote:

I ran into this issue while building a feature for Learn.co. I needed to
create a new Namecheap account, and then register a domain under that
account, something which required having these two parameter have different
values.

The global parameters (required) for "ApiUsername" and "Username" are
hardcoded in the gem, so I had to manually use Faraday to make the requests.

I think the solution would be a conditional check for the "Username"
global parameter coming from the client before assigning in the API
configuration of the gem. I will take a stab at this.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#14, or mute the thread
https://github.com/notifications/unsubscribe-auth/AALU-CN3RJlu8Qv2RDq94A4njTk-bjAlks5qqTqpgaJpZM4J9z6U
.


Tristan Gomez
Chief Problem Solver
Skype || Twitter || Facebook || Github: parasquid

My software blog: http://life.beyondrails.com
My hardware blog: http://www.hackworkplay.com
My mentalware blog: http://witforsale.com

I Follow The Code of Awesomeness:
I dare to dream big
I evolve through learning
I am positive & passionate
I practice transparency & candor
I help others rock their greatest lives
I turn customers into raving fans
I am grateful & I celebrate life
I kick serious ass
I am a money magnet
I honor my words with action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants