bukku_rails 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/bukku.rb +2 -2
- data/lib/bukku_rails/version.rb +1 -1
- data/lib/bukku_test.rb +5 -5
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: df23a6a528a26b6ee952178ab0f4ecc1695b788e205044c5a373fd807df81c1d
|
|
4
|
+
data.tar.gz: 858aa3808ea2089f9c5854ad02a823ec5ba13b678c3c033daacb6494896fac92
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e61943b4520221cf4286a2cb8cc426e074cdfc5eeeb270f1548d84d2dc7ec285ed0caccffad3847aa7fa65d4c15d4e60a0dee25209c007d81f9751b70cd72d20
|
|
7
|
+
data.tar.gz: a1b401386099562ee80bbd86717aa39b9132a55842c69627758e1c454c3ec4ee279fe1a642773feabdeebcfd2e26e226ae0e62c33e32885e757b736183070895
|
data/README.md
CHANGED
|
@@ -97,7 +97,7 @@ Just like in Rails the methods follow the singular and plural expression. Method
|
|
|
97
97
|
|------------|-------------|----------|
|
|
98
98
|
| GET | `get_journal_entries(**kwargs)` | `/journal_entries` |
|
|
99
99
|
| GET | `get_journal_entry(id)` | `/journal_entries/:id` |
|
|
100
|
-
| GET | `get_accounts` | `/accounts` |
|
|
100
|
+
| GET | `get_accounts(**kwargs)` | `/accounts` |
|
|
101
101
|
| GET | `get_account(id)` | `/accounts/:id` |
|
|
102
102
|
|
|
103
103
|
### Examples
|
data/lib/bukku.rb
CHANGED
data/lib/bukku_rails/version.rb
CHANGED
data/lib/bukku_test.rb
CHANGED
|
@@ -193,20 +193,20 @@ class BukkuTest < Client
|
|
|
193
193
|
|
|
194
194
|
## ACCOUNTING
|
|
195
195
|
# Journal Entries
|
|
196
|
-
def
|
|
196
|
+
def get_journal_entries(**kwargs)
|
|
197
197
|
get '/journal_entries', query: kwargs
|
|
198
198
|
end
|
|
199
199
|
|
|
200
|
-
def
|
|
200
|
+
def get_journal_entry(id)
|
|
201
201
|
get "/journal_entries/#{id}"
|
|
202
202
|
end
|
|
203
203
|
|
|
204
204
|
# Account
|
|
205
|
-
def
|
|
206
|
-
get '/accounts'
|
|
205
|
+
def get_accounts(**kwargs)
|
|
206
|
+
get '/accounts', query: kwargs
|
|
207
207
|
end
|
|
208
208
|
|
|
209
|
-
def
|
|
209
|
+
def get_account(id)
|
|
210
210
|
get "/accounts/#{id}"
|
|
211
211
|
end
|
|
212
212
|
end
|