irb(main):001:0> Githubrepo.create( { :repository => 'test_repo', :description => 'description', :wants_ssh => false, :username => 'elikem', :password => 'password' } ) => #24024659, "name"=>"test_repo", "full_name"=>"elikem/test_repo", "owner"=>{"login"=>"elikem", "id"=>1282871, "avatar_url"=>"https://avatars.githubusercontent.com/u/1282871?v=2", "gravatar_id"=>"90eb0e692f7f2767b506510b648bd52c", "url"=>"https://api.github.com/users/elikem", "html_url"=>"https://github.com/elikem", "followers_url"=>"https://api.github.com/users/elikem/followers", "following_url"=>"https://api.github.com/users/elikem/following{/other_user}", "gists_url"=>"https://api.github.com/users/elikem/gists{/gist_id}", "starred_url"=>"https://api.github.com/users/elikem/starred{/owner}{/repo}", "subscriptions_url"=>"https://api.github.com/users/elikem/subscriptions", "organizations_url"=>"https://api.github.com/users/elikem/orgs", "repos_url"=>"https://api.github.com/users/elikem/repos", "events_url"=>"https://api.github.com/users/elikem/events{/privacy}", "received_events_url"=>"https://api.github.com/users/elikem/received_events", "type"=>"User", "site_admin"=>false}, "private"=>false, "html_url"=>"https://github.com/elikem/test_repo", "description"=>"description", "fork"=>false, "url"=>"https://api.github.com/repos/elikem/test_repo", "forks_url"=>"https://api.github.com/repos/elikem/test_repo/forks", "keys_url"=>"https://api.github.com/repos/elikem/test_repo/keys{/key_id}", "collaborators_url"=>"https://api.github.com/repos/elikem/test_repo/collaborators{/collaborator}", "teams_url"=>"https://api.github.com/repos/elikem/test_repo/teams", "hooks_url"=>"https://api.github.com/repos/elikem/test_repo/hooks", "issue_events_url"=>"https://api.github.com/repos/elikem/test_repo/issues/events{/number}", "events_url"=>"https://api.github.com/repos/elikem/test_repo/events", "assignees_url"=>"https://api.github.com/repos/elikem/test_repo/assignees{/user}", "branches_url"=>"https://api.github.com/repos/elikem/test_repo/branches{/branch}", "tags_url"=>"https://api.github.com/repos/elikem/test_repo/tags", "blobs_url"=>"https://api.github.com/repos/elikem/test_repo/git/blobs{/sha}", "git_tags_url"=>"https://api.github.com/repos/elikem/test_repo/git/tags{/sha}", "git_refs_url"=>"https://api.github.com/repos/elikem/test_repo/git/refs{/sha}", "trees_url"=>"https://api.github.com/repos/elikem/test_repo/git/trees{/sha}", "statuses_url"=>"https://api.github.com/repos/elikem/test_repo/statuses/{sha}", "languages_url"=>"https://api.github.com/repos/elikem/test_repo/languages", "stargazers_url"=>"https://api.github.com/repos/elikem/test_repo/stargazers", "contributors_url"=>"https://api.github.com/repos/elikem/test_repo/contributors", "subscribers_url"=>"https://api.github.com/repos/elikem/test_repo/subscribers", "subscription_url"=>"https://api.github.com/repos/elikem/test_repo/subscription", "commits_url"=>"https://api.github.com/repos/elikem/test_repo/commits{/sha}", "git_commits_url"=>"https://api.github.com/repos/elikem/test_repo/git/commits{/sha}", "comments_url"=>"https://api.github.com/repos/elikem/test_repo/comments{/number}", "issue_comment_url"=>"https://api.github.com/repos/elikem/test_repo/issues/comments/{number}", "contents_url"=>"https://api.github.com/repos/elikem/test_repo/contents/{+path}", "compare_url"=>"https://api.github.com/repos/elikem/test_repo/compare/{base}...{head}", "merges_url"=>"https://api.github.com/repos/elikem/test_repo/merges", "archive_url"=>"https://api.github.com/repos/elikem/test_repo/{archive_format}{/ref}", "downloads_url"=>"https://api.github.com/repos/elikem/test_repo/downloads", "issues_url"=>"https://api.github.com/repos/elikem/test_repo/issues{/number}", "pulls_url"=>"https://api.github.com/repos/elikem/test_repo/pulls{/number}", "milestones_url"=>"https://api.github.com/repos/elikem/test_repo/milestones{/number}", "notifications_url"=>"https://api.github.com/repos/elikem/test_repo/notifications{?since,all,participating}", "labels_url"=>"https://api.github.com/repos/elikem/test_repo/labels{/name}", "releases_url"=>"https://api.github.com/repos/elikem/test_repo/releases{/id}", "created_at"=>"2014-09-14T14:56:29Z", "updated_at"=>"2014-09-14T14:56:29Z", "pushed_at"=>"2014-09-14T14:56:29Z", "git_url"=>"git://github.com/elikem/test_repo.git", "ssh_url"=>"git@github.com:elikem/test_repo.git", "clone_url"=>"https://github.com/elikem/test_repo.git", "svn_url"=>"https://github.com/elikem/test_repo", "homepage"=>nil, "size"=>0, "stargazers_count"=>0, "watchers_count"=>0, "language"=>nil, "has_issues"=>true, "has_downloads"=>true, "has_wiki"=>true, "forks_count"=>0, "mirror_url"=>nil, "open_issues_count"=>0, "forks"=>0, "open_issues"=>0, "watchers"=>0, "default_branch"=>"master", "permissions"=>{"admin"=>true, "push"=>true, "pull"=>true}, "network_count"=>0, "subscribers_count"=>1}, @response=#, @headers={"server"=>["GitHub.com"], "date"=>["Sun, 14 Sep 2014 14:56:29 GMT"], "content-type"=>["application/json; charset=utf-8"], "connection"=>["close"], "status"=>["201 Created"], "x-ratelimit-limit"=>["5000"], "x-ratelimit-remaining"=>["4995"], "x-ratelimit-reset"=>["1410706876"], "cache-control"=>["private, max-age=60, s-maxage=60"], "etag"=>["\"6e6b4a351fc02fd29abde5d40f270457\""], "location"=>["https://api.github.com/repos/elikem/test_repo"], "vary"=>["Accept, Authorization, Cookie, X-GitHub-OTP"], "x-github-media-type"=>["github.v3"], "x-xss-protection"=>["1; mode=block"], "x-frame-options"=>["deny"], "content-security-policy"=>["default-src 'none'"], "content-length"=>["4521"], "access-control-allow-credentials"=>["true"], "access-control-expose-headers"=>["ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval"], "access-control-allow-origin"=>["*"], "x-github-request-id"=>["6372ADE0:76FA:4B1F6BC:5415AC9D"], "strict-transport-security"=>["max-age=31536000; includeSubdomains; preload"], "x-content-type-options"=>["nosniff"]}> stdout https://github.com/elikem/test_repo.git --- COPIED TO CLIPBOARD message nil error message nil attributes {"id"=>24024659, "name"=>"test_repo", "full_name"=>"elikem/test_repo", "owner"=>{"login"=>"elikem", "id"=>1282871, "avatar_url"=>"https://avatars.githubusercontent.com/u/1282871?v=2", "gravatar_id"=>"90eb0e692f7f2767b506510b648bd52c", "url"=>"https://api.github.com/users/elikem", "html_url"=>"https://github.com/elikem", "followers_url"=>"https://api.github.com/users/elikem/followers", "following_url"=>"https://api.github.com/users/elikem/following{/other_user}", "gists_url"=>"https://api.github.com/users/elikem/gists{/gist_id}", "starred_url"=>"https://api.github.com/users/elikem/starred{/owner}{/repo}", "subscriptions_url"=>"https://api.github.com/users/elikem/subscriptions", "organizations_url"=>"https://api.github.com/users/elikem/orgs", "repos_url"=>"https://api.github.com/users/elikem/repos", "events_url"=>"https://api.github.com/users/elikem/events{/privacy}", "received_events_url"=>"https://api.github.com/users/elikem/received_events", "type"=>"User", "site_admin"=>false}, "private"=>false, "html_url"=>"https://github.com/elikem/test_repo", "description"=>"description", "fork"=>false, "url"=>"https://api.github.com/repos/elikem/test_repo", "forks_url"=>"https://api.github.com/repos/elikem/test_repo/forks", "keys_url"=>"https://api.github.com/repos/elikem/test_repo/keys{/key_id}", "collaborators_url"=>"https://api.github.com/repos/elikem/test_repo/collaborators{/collaborator}", "teams_url"=>"https://api.github.com/repos/elikem/test_repo/teams", "hooks_url"=>"https://api.github.com/repos/elikem/test_repo/hooks", "issue_events_url"=>"https://api.github.com/repos/elikem/test_repo/issues/events{/number}", "events_url"=>"https://api.github.com/repos/elikem/test_repo/events", "assignees_url"=>"https://api.github.com/repos/elikem/test_repo/assignees{/user}", "branches_url"=>"https://api.github.com/repos/elikem/test_repo/branches{/branch}", "tags_url"=>"https://api.github.com/repos/elikem/test_repo/tags", "blobs_url"=>"https://api.github.com/repos/elikem/test_repo/git/blobs{/sha}", "git_tags_url"=>"https://api.github.com/repos/elikem/test_repo/git/tags{/sha}", "git_refs_url"=>"https://api.github.com/repos/elikem/test_repo/git/refs{/sha}", "trees_url"=>"https://api.github.com/repos/elikem/test_repo/git/trees{/sha}", "statuses_url"=>"https://api.github.com/repos/elikem/test_repo/statuses/{sha}", "languages_url"=>"https://api.github.com/repos/elikem/test_repo/languages", "stargazers_url"=>"https://api.github.com/repos/elikem/test_repo/stargazers", "contributors_url"=>"https://api.github.com/repos/elikem/test_repo/contributors", "subscribers_url"=>"https://api.github.com/repos/elikem/test_repo/subscribers", "subscription_url"=>"https://api.github.com/repos/elikem/test_repo/subscription", "commits_url"=>"https://api.github.com/repos/elikem/test_repo/commits{/sha}", "git_commits_url"=>"https://api.github.com/repos/elikem/test_repo/git/commits{/sha}", "comments_url"=>"https://api.github.com/repos/elikem/test_repo/comments{/number}", "issue_comment_url"=>"https://api.github.com/repos/elikem/test_repo/issues/comments/{number}", "contents_url"=>"https://api.github.com/repos/elikem/test_repo/contents/{+path}", "compare_url"=>"https://api.github.com/repos/elikem/test_repo/compare/{base}...{head}", "merges_url"=>"https://api.github.com/repos/elikem/test_repo/merges", "archive_url"=>"https://api.github.com/repos/elikem/test_repo/{archive_format}{/ref}", "downloads_url"=>"https://api.github.com/repos/elikem/test_repo/downloads", "issues_url"=>"https://api.github.com/repos/elikem/test_repo/issues{/number}", "pulls_url"=>"https://api.github.com/repos/elikem/test_repo/pulls{/number}", "milestones_url"=>"https://api.github.com/repos/elikem/test_repo/milestones{/number}", "notifications_url"=>"https://api.github.com/repos/elikem/test_repo/notifications{?since,all,participating}", "labels_url"=>"https://api.github.com/repos/elikem/test_repo/labels{/name}", "releases_url"=>"https://api.github.com/repos/elikem/test_repo/releases{/id}", "created_at"=>"2014-09-14T14:56:29Z", "updated_at"=>"2014-09-14T14:56:29Z", "pushed_at"=>"2014-09-14T14:56:29Z", "git_url"=>"git://github.com/elikem/test_repo.git", "ssh_url"=>"git@github.com:elikem/test_repo.git", "clone_url"=>"https://github.com/elikem/test_repo.git", "svn_url"=>"https://github.com/elikem/test_repo", "homepage"=>nil, "size"=>0, "stargazers_count"=>0, "watchers_count"=>0, "language"=>nil, "has_issues"=>true, "has_downloads"=>true, "has_wiki"=>true, "forks_count"=>0, "mirror_url"=>nil, "open_issues_count"=>0, "forks"=>0, "open_issues"=>0, "watchers"=>0, "default_branch"=>"master", "permissions"=>{"admin"=>true, "push"=>true, "pull"=>true}, "network_count"=>0, "subscribers_count"=>1, :repository=>"test_repo", :description=>"description", :wants_ssh=>false, :username=>"elikem", :password=>"password"}