{"action":"created","comment":{"url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/pulls/comments/57808595","id":57808595,"diff_hunk":"@@ -0,0 +1,224 @@\n+<?php\n+namespace GEM;\n+\n+require_once( 'mock-transport.php' );\n+require_once( 'testcase.php' );\n+\n+class Test_GEM_Dispatcher extends WP_GEMTestCase {\n+\n+\t/**\n+\t * PHP unit setup function\n+\t *\n+\t * @return void\n+\t */\n+\tfunction setUp() {\n+\t\tparent::setUp();\n+\n+\t\t\\WP_Http_Mock_Transport::$test_class = $this;\n+\t\tadd_action( 'http_api_transports', array( $this, 'get_transports' ) );\n+\t}\n+\n+\tfunction tearDown() {\n+\t\tparent::tearDown();\n+\n+\t\tremove_action( 'http_api_transports', array( $this, 'get_transports' ) );\n+\t\t\\WP_Http_Mock_Transport::$test_class = null;\n+\t}\n+\n+\tpublic function get_transports() {\n+\t\treturn array( 'Mock_Transport' );\n+\t}\n+\n+\tpublic function test_basics() {\n+\t\t$this->assertTrue( class_exists( 'GEM_Dispatcher', false ) );\n+\t}\n+\n+\tpublic function test_fetch_forms() {\n+\t\t$test = $this;\n+\t\t$user_name = 'the_user';\n+\t\t$api_key = 'the_key';\n+\t\t$sample_response = '{ \"test\": \"OK\" }';\n+\n+\t\t\\WP_Http_Mock_Transport::$expected_url = 'http://api.madmimi.com/signups.json';\n+\t\t\\WP_Http_Mock_Transport::$response = array(\n+\t\t\t'response' => array(\n+\t\t\t\t'code' => 401,\n+\t\t\t),\n+\t\t\t'body' => $sample_response,\n+\t\t);\n+\t\t$this->assertFalse( \\GEM_Dispatcher::fetch_forms( $user_name ) );\n+\n+\t\t\\WP_Http_Mock_Transport::$expected_url = \"http://api.madmimi.com/signups.json?username=$user_name&api_key=the_key\";\n+\t\t\\WP_Http_Mock_Transport::$response = array(\n+\t\t\t'response' => array(\n+\t\t\t\t'code' => 401,\n+\t\t\t),\n+\t\t\t'body' => $sample_response,\n+\t\t);\n+\t\t$this->assertFalse( \\GEM_Dispatcher::fetch_forms( $user_name, $api_key ) );\n+\n+\t\t\\WP_Http_Mock_Transport::$expected_url = \"http://api.madmimi.com/signups.json?username=$user_name&api_key=$api_key\";\n+\t\t\\WP_Http_Mock_Transport::$response = array(\n+\t\t\t'response' => array(\n+\t\t\t\t'code' => 200,\n+\t\t\t),\n+\t\t\t'body' => $sample_response,\n+\t\t);\n+\t\t$this->assertEquals( json_decode( $sample_response ), \\GEM_Dispatcher::fetch_forms( $user_name, $api_key ) );\n+\t\t$this->assertEquals( json_decode( $sample_response ), get_transient( 'gem-' . $user_name . '-lists' ) );\n+\t}\n+\n+\tpublic function test_get_forms() {\n+\t\t$user_name = 'the_user';\n+\t\t$api_key = 'the_key';\n+\t\t$sample_data = 'the_sample';\n+\n+\t\tupdate_option( 'gem-settings', false );\n+\t\t$this->assertFalse( \\GEM_Dispatcher::get_forms( $user_name ) );\n+\n+\t\tupdate_option( 'gem-settings', array( 'api-key' => $api_key ) );\n+\t\tset_transient( 'gem-' . $user_name . '-lists', $sample_data );\n+\t\t$this->assertEquals( $sample_data, \\GEM_Dispatcher::get_forms( $user_name ) );\n+\n+\t\tdelete_transient( 'gem-' . $user_name . '-lists' );\n+\t}\n+\n+\tpublic function test_get_fields() {\n+\t\t$test = $this;\n+\t\t$form_id = 'the_id';\n+\t\t$sample_data = 'the_sample';\n+\t\t$sample_response = '{ \"test\": \"OK\" }';\n+\n+\t\tset_transient( 'gem-form-' . $form_id, $sample_data );\n+\t\t$this->assertEquals( $sample_data, \\GEM_Dispatcher::get_fields( $form_id ) );\n+\t\tdelete_transient( 'gem-form-' . $form_id );\n+\n+\t\t\\WP_Http_Mock_Transport::$expected_url = \"http://api.madmimi.com/signups/$form_id.json\";\n+\t\t\\WP_Http_Mock_Transport::$response = array(\n+\t\t\t'response' => array(\n+\t\t\t\t'code' => 401,\n+\t\t\t),\n+\t\t\t'body' => $sample_response,\n+\t\t);\n+\t\t$this->assertFalse( \\GEM_Dispatcher::get_fields( $form_id ) );\n+\n+\t\t\\WP_Http_Mock_Transport::$expected_url = \"http://api.madmimi.com/signups/$form_id.json\";\n+\t\t\\WP_Http_Mock_Transport::$response = array(\n+\t\t\t'response' => array(\n+\t\t\t\t'code' => 200,\n+\t\t\t),\n+\t\t\t'body' => $sample_response,\n+\t\t);\n+\t\t$this->assertEquals( json_decode( $sample_response ), \\GEM_Dispatcher::get_fields( $form_id ) );\n+\t\t$this->assertEquals( json_decode( $sample_response ), get_transient( 'gem-form-' . $form_id ) );\n+\t\tdelete_transient( 'gem-form-' . $form_id );\n+\t}\n+\n+\tpublic function test_get_user_level() {\n+\t\t$sample_data = 'the_sample';\n+\t\t$user_name = 'the_user';\n+\t\t$sample_response = '{ \"result\": \"OK\" }';\n+\n+\t\tupdate_option( 'gem-settings', false );\n+\t\t$this->assertFalse( \\GEM_Dispatcher::get_user_level() );\n+\n+\t\tupdate_option( 'gem-settings', array( 'username' => $user_name ) );\n+\t\tset_transient( 'gem-' . $user_name . '-account', $sample_data );\n+\t\t$this->assertEquals( $sample_data, \\GEM_Dispatcher::get_user_level( ) );\n+\t\tdelete_transient( 'gem-' . $user_name . '-account' );\n+\n+\t\t\\WP_Http_Mock_Transport::$expected_url = \"http://api.madmimi.com/user/account_status?username=$user_name\";\n+\t\t\\WP_Http_Mock_Transport::$response = array(\n+\t\t\t'response' => array(\n+\t\t\t\t'code' => 401,\n+\t\t\t),\n+\t\t);\n+\t\t$this->assertFalse( \\GEM_Dispatcher::get_user_level( ) );\n+\n+\t\t\\WP_Http_Mock_Transport::$expected_url = \"http://api.madmimi.com/user/account_status?username=$user_name\";\n+\t\t\\WP_Http_Mock_Transport::$response = array(\n+\t\t\t'response' => array(\n+\t\t\t\t'code' => 200,\n+\t\t\t),\n+\t\t\t'body' => $sample_response,\n+\t\t);\n+\t\t$this->assertEquals( 'OK', \\GEM_Dispatcher::get_user_level( ) );","path":"tests/test-class-gem-dispatcher.php","position":145,"original_position":145,"commit_id":"8dd446422c26887df73695bac9aac93d77c62cfe","original_commit_id":"8dd446422c26887df73695bac9aac93d77c62cfe","user":{"login":"lukecarbis","id":1097667,"avatar_url":"https://avatars.githubusercontent.com/u/1097667?v=3","gravatar_id":"","url":"https://api.github.com/users/lukecarbis","html_url":"https://github.com/lukecarbis","followers_url":"https://api.github.com/users/lukecarbis/followers","following_url":"https://api.github.com/users/lukecarbis/following{/other_user}","gists_url":"https://api.github.com/users/lukecarbis/gists{/gist_id}","starred_url":"https://api.github.com/users/lukecarbis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukecarbis/subscriptions","organizations_url":"https://api.github.com/users/lukecarbis/orgs","repos_url":"https://api.github.com/users/lukecarbis/repos","events_url":"https://api.github.com/users/lukecarbis/events{/privacy}","received_events_url":"https://api.github.com/users/lukecarbis/received_events","type":"User","site_admin":false},"body":"No space between brackets.","created_at":"2016-03-29T22:01:39Z","updated_at":"2016-03-29T22:01:39Z","html_url":"https://github.com/godaddy/wp-godaddy-email-marketing/pull/3#discussion_r57808595","pull_request_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/pulls/comments/57808595"},"html":{"href":"https://github.com/godaddy/wp-godaddy-email-marketing/pull/3#discussion_r57808595"},"pull_request":{"href":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/pulls/3","id":63864578,"html_url":"https://github.com/godaddy/wp-godaddy-email-marketing/pull/3","diff_url":"https://github.com/godaddy/wp-godaddy-email-marketing/pull/3.diff","patch_url":"https://github.com/godaddy/wp-godaddy-email-marketing/pull/3.patch","issue_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/issues/3","number":3,"state":"open","locked":false,"title":"Unit tests","user":{"login":"marcin-lawrowski","id":6647971,"avatar_url":"https://avatars.githubusercontent.com/u/6647971?v=3","gravatar_id":"","url":"https://api.github.com/users/marcin-lawrowski","html_url":"https://github.com/marcin-lawrowski","followers_url":"https://api.github.com/users/marcin-lawrowski/followers","following_url":"https://api.github.com/users/marcin-lawrowski/following{/other_user}","gists_url":"https://api.github.com/users/marcin-lawrowski/gists{/gist_id}","starred_url":"https://api.github.com/users/marcin-lawrowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcin-lawrowski/subscriptions","organizations_url":"https://api.github.com/users/marcin-lawrowski/orgs","repos_url":"https://api.github.com/users/marcin-lawrowski/repos","events_url":"https://api.github.com/users/marcin-lawrowski/events{/privacy}","received_events_url":"https://api.github.com/users/marcin-lawrowski/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-23T11:04:41Z","updated_at":"2016-03-29T22:01:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2148c296fbe1ce7df06375b32186327a29563a02","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/pulls/3/commits","review_comments_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/pulls/3/comments","review_comment_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/pulls/comments{/number}","comments_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/issues/3/comments","statuses_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/statuses/8dd446422c26887df73695bac9aac93d77c62cfe","head":{"label":"godaddy:feature/unit-tests","ref":"feature/unit-tests","sha":"8dd446422c26887df73695bac9aac93d77c62cfe","user":{"login":"godaddy","id":1406546,"avatar_url":"https://avatars.githubusercontent.com/u/1406546?v=3","gravatar_id":"","url":"https://api.github.com/users/godaddy","html_url":"https://github.com/godaddy","followers_url":"https://api.github.com/users/godaddy/followers","following_url":"https://api.github.com/users/godaddy/following{/other_user}","gists_url":"https://api.github.com/users/godaddy/gists{/gist_id}","starred_url":"https://api.github.com/users/godaddy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/godaddy/subscriptions","organizations_url":"https://api.github.com/users/godaddy/orgs","repos_url":"https://api.github.com/users/godaddy/repos","events_url":"https://api.github.com/users/godaddy/events{/privacy}","received_events_url":"https://api.github.com/users/godaddy/received_events","type":"Organization","site_admin":false},"repo":{"id":52622212,"name":"wp-godaddy-email-marketing","full_name":"godaddy/wp-godaddy-email-marketing","owner":{"login":"godaddy","id":1406546,"avatar_url":"https://avatars.githubusercontent.com/u/1406546?v=3","gravatar_id":"","url":"https://api.github.com/users/godaddy","html_url":"https://github.com/godaddy","followers_url":"https://api.github.com/users/godaddy/followers","following_url":"https://api.github.com/users/godaddy/following{/other_user}","gists_url":"https://api.github.com/users/godaddy/gists{/gist_id}","starred_url":"https://api.github.com/users/godaddy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/godaddy/subscriptions","organizations_url":"https://api.github.com/users/godaddy/orgs","repos_url":"https://api.github.com/users/godaddy/repos","events_url":"https://api.github.com/users/godaddy/events{/privacy}","received_events_url":"https://api.github.com/users/godaddy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/godaddy/wp-godaddy-email-marketing","description":"https://wordpress.org/plugins/godaddy-email-marketing-sign-up-forms/","fork":false,"url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing","forks_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/forks","keys_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/keys{/key_id}","collaborators_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/teams","hooks_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/hooks","issue_events_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/issues/events{/number}","events_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/events","assignees_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/assignees{/user}","branches_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/branches{/branch}","tags_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/tags","blobs_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/git/refs{/sha}","trees_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/git/trees{/sha}","statuses_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/statuses/{sha}","languages_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/languages","stargazers_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/stargazers","contributors_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/contributors","subscribers_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/subscribers","subscription_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/subscription","commits_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/commits{/sha}","git_commits_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/git/commits{/sha}","comments_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/comments{/number}","issue_comment_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/issues/comments{/number}","contents_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/contents/{+path}","compare_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/compare/{base}...{head}","merges_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/merges","archive_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/downloads","issues_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/issues{/number}","pulls_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/pulls{/number}","milestones_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/milestones{/number}","notifications_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/labels{/name}","releases_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/releases{/id}","deployments_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/deployments","created_at":"2016-02-26T17:51:11Z","updated_at":"2016-03-08T16:22:19Z","pushed_at":"2016-03-29T17:46:31Z","git_url":"git://github.com/godaddy/wp-godaddy-email-marketing.git","ssh_url":"git@github.com:godaddy/wp-godaddy-email-marketing.git","clone_url":"https://github.com/godaddy/wp-godaddy-email-marketing.git","svn_url":"https://github.com/godaddy/wp-godaddy-email-marketing","homepage":null,"size":837,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"develop"}},"base":{"label":"godaddy:develop","ref":"develop","sha":"67281e636f99809d7ed951568e050ca798b48dcb","user":{"login":"godaddy","id":1406546,"avatar_url":"https://avatars.githubusercontent.com/u/1406546?v=3","gravatar_id":"","url":"https://api.github.com/users/godaddy","html_url":"https://github.com/godaddy","followers_url":"https://api.github.com/users/godaddy/followers","following_url":"https://api.github.com/users/godaddy/following{/other_user}","gists_url":"https://api.github.com/users/godaddy/gists{/gist_id}","starred_url":"https://api.github.com/users/godaddy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/godaddy/subscriptions","organizations_url":"https://api.github.com/users/godaddy/orgs","repos_url":"https://api.github.com/users/godaddy/repos","events_url":"https://api.github.com/users/godaddy/events{/privacy}","received_events_url":"https://api.github.com/users/godaddy/received_events","type":"Organization","site_admin":false},"repo":{"id":52622212,"name":"wp-godaddy-email-marketing","full_name":"godaddy/wp-godaddy-email-marketing","owner":{"login":"godaddy","id":1406546,"avatar_url":"https://avatars.githubusercontent.com/u/1406546?v=3","gravatar_id":"","url":"https://api.github.com/users/godaddy","html_url":"https://github.com/godaddy","followers_url":"https://api.github.com/users/godaddy/followers","following_url":"https://api.github.com/users/godaddy/following{/other_user}","gists_url":"https://api.github.com/users/godaddy/gists{/gist_id}","starred_url":"https://api.github.com/users/godaddy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/godaddy/subscriptions","organizations_url":"https://api.github.com/users/godaddy/orgs","repos_url":"https://api.github.com/users/godaddy/repos","events_url":"https://api.github.com/users/godaddy/events{/privacy}","received_events_url":"https://api.github.com/users/godaddy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/godaddy/wp-godaddy-email-marketing","description":"https://wordpress.org/plugins/godaddy-email-marketing-sign-up-forms/","fork":false,"url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing","forks_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/forks","keys_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/keys{/key_id}","collaborators_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/teams","hooks_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/hooks","issue_events_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/issues/events{/number}","events_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/events","assignees_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/assignees{/user}","branches_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/branches{/branch}","tags_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/tags","blobs_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/git/refs{/sha}","trees_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/git/trees{/sha}","statuses_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/statuses/{sha}","languages_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/languages","stargazers_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/stargazers","contributors_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/contributors","subscribers_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/subscribers","subscription_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/subscription","commits_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/commits{/sha}","git_commits_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/git/commits{/sha}","comments_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/comments{/number}","issue_comment_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/issues/comments{/number}","contents_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/contents/{+path}","compare_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/compare/{base}...{head}","merges_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/merges","archive_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/downloads","issues_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/issues{/number}","pulls_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/pulls{/number}","milestones_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/milestones{/number}","notifications_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/labels{/name}","releases_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/releases{/id}","deployments_url":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/deployments","created_at":"2016-02-26T17:51:11Z","updated_at":"2016-03-08T16:22:19Z","pushed_at":"2016-03-29T17:46:31Z","git_url":"git://github.com/godaddy/wp-godaddy-email-marketing.git","ssh_url":"git@github.com:godaddy/wp-godaddy-email-marketing.git","clone_url":"https://github.com/godaddy/wp-godaddy-email-marketing.git","svn_url":"https://github.com/godaddy/wp-godaddy-email-marketing","homepage":null,"size":837,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/pulls/3"},"html":{"href":"https://github.com/godaddy/wp-godaddy-email-marketing/pull/3"},"issue":{"href":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/issues/3"},"comments":{"href":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/godaddy/wp-godaddy-email-marketing/statuses/8dd446422c26887df73695bac9aac93d77c62cfe"}}}}