lib/githubrepo.rb in githubrepo-0.0.3 vs lib/githubrepo.rb in githubrepo-0.1.0

- old
+ new

@@ -39,13 +39,13 @@ # DRY this by moving to a Parse.response_from(post) def self.parse_response_from(post) attributes = post - git_url = - if attributes['git_url'] != nil - attributes['git_url'] + clone_url = + if attributes['clone_url'] != nil + attributes['clone_url'] end message = if attributes['message'] != nil attributes['message'] @@ -55,10 +55,10 @@ if attributes['errors'] != nil attributes['errors'].first['message'] end # messages to console - puts git_url if git_url + puts clone_url if clone_url puts message.capitalize if message puts error_message.capitalize if error_message end end