diff options
author | Victor Shyba <victor.shyba@gmail.com> | 2015-10-28 17:58:27 -0300 |
---|---|---|
committer | Victor Shyba <victor.shyba@gmail.com> | 2015-11-03 12:41:37 -0300 |
commit | eaf19626a57d5f5325653fee3aea9db27c9531fe (patch) | |
tree | fce19a8c6841a78698395e31306b5c31c9810e2b /common/pkg | |
parent | 421691ef71019d0bcd4447a773efa5e9b15b0c71 (diff) |
[refactor] resource logic encapsulation
Creating a resource from a path to use get_json causes a lot of dirty
code and unexplained things like response[2]. This commit extracts that
logic into a helper to let it more clear about what is happening.
Diffstat (limited to 'common/pkg')
0 files changed, 0 insertions, 0 deletions