Skip to content

Commit 577aade

Browse files
Merge pull request #4 from wacko/fix/installments-list
Fix: Expose Installments#list instead of Installments#retrieve
2 parents 2a431d2 + 15fd985 commit 577aade

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,6 @@ These are the operations available for each resource:
6969
|Cards | x | x | x | x | x | |
7070
|Charges | x | x | x | | | |
7171
|Customers | x | x | x | x | x | |
72-
|Installments | | | x | | | |
72+
|Installments | x | | | | | |
7373
|Queue | x | x | x | | x | x |
7474
|Refunds | x | x | x | | | |

lib/mango/resources.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class Queue < Resource
3131
end
3232

3333
class Installments < Resource
34-
public_class_method :retrieve
34+
public_class_method :list
3535
end
3636

3737
end

0 commit comments

Comments
 (0)