lib/github_cli/apis/tree.rb in github_cli-0.1.3 vs lib/github_cli/apis/tree.rb in github_cli-0.2.0

- old
+ new

@@ -4,14 +4,14 @@ class Tree < API class << self def get(user, repo, sha, params) - github_api.repos.get_tree user, repo, params + github_api.git_data.trees.get user, repo, sha, params end def create(user, repo, params) - github_api.repos.create_tree user, repo, params + github_api.git_data.trees.create user, repo, params end end end # Repository end # GithubCLI