lib/lita/handlers/github_repo.rb in lita-github-0.0.5 vs lib/lita/handlers/github_repo.rb in lita-github-0.0.6
- old
+ new
@@ -115,15 +115,9 @@
o[k] = v unless o.key?(k)
end
o
end
- # TODO: convert this to a mixin method for reuse
- def repo_match(response)
- md = response.match_data
- [organization(md['org']), md['repo']]
- end
-
def extrapolate_create_opts(opts, org)
opts[:organization] = org
if opts.key?(:team)
opts[:team_id] = team_by_slug(opts[:team], org) || team_by_slug(config.default_team_slug, org)