Comments (2)
Quando eu faço o seguinte comando
subs.subitems.delete
Ele me retorna que o "method delete needs 1 more argument"
from iugu-ruby.
Estou tendo este mesmo problema atualmente. Não consigo atualizar um subitem pela gem.
Até tentei dar fork no projeto e criei o seguinte método:
`
def change_subitems(subitems, options = {})
options.merge!({ subitems: subitems })
Iugu::Factory.create_from_response(self.class.object_type,
APIRequest.request("PUT",
"#{self.class.url(self.id)}/",
options))
end
`
E tento passar o seguinte objeto: {id: "user_limit_exceeded:destroy_false", description: "test", price_cents: 50000, quantity: 1, recurrent: true}
como parâmetro do subitem.
E o retorno que me da é: 400 Bad Request
from iugu-ruby.
Related Issues (17)
- API mais simples para pagamentos recorrentes HOT 1
- Dúvidas sobre Account e Marketplace HOT 1
- Como atualizar um objeto? HOT 2
- Criar um arquivo de changelog
- Criar um processo de integração contínua
- Setup specs to use the development API
- Add specs for Iugu::Customer
- Add specs to Iugu::Charge HOT 1
- Gateway ActiveMerchant HOT 3
- Add specs to Iugu::Invoice HOT 1
- Add specs to Iugu::Plan
- Add specs to Iugu::Subscription HOT 1
- Don't have support to `start` parameter when fetching subscriptions HOT 2
- Diagramas e fluxos
- Ruby gems desatualizado HOT 1
- Arrays não estão sendo salvas
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iugu-ruby.