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

Working with singleton class #138

Open
israelriibeiro opened this issue Oct 22, 2015 · 1 comment
Open

Working with singleton class #138

israelriibeiro opened this issue Oct 22, 2015 · 1 comment

Comments

@israelriibeiro
Copy link

How can i do update without sending id in request? For example,

PUT /character

Not

PUT /character/:id

Many thanks.
Att,

Israel RIbeiro

@natemacinnes
Copy link
Contributor

natemacinnes commented Oct 12, 2016

Create a custom method.

def self.my_custom_method(attrs = {})
    self.requestor.put(attrs)
end

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