{"action":"closed","number":12,"pull_request":{"url":"https://api.github.com/repos/joshnuss/xml_builder/pulls/12","id":74244457,"html_url":"https://github.com/joshnuss/xml_builder/pull/12","diff_url":"https://github.com/joshnuss/xml_builder/pull/12.diff","patch_url":"https://github.com/joshnuss/xml_builder/pull/12.patch","issue_url":"https://api.github.com/repos/joshnuss/xml_builder/issues/12","number":12,"state":"closed","locked":false,"title":"Add namespace support","user":{"login":"programisti","id":1515573,"avatar_url":"https://avatars.githubusercontent.com/u/1515573?v=3","gravatar_id":"","url":"https://api.github.com/users/programisti","html_url":"https://github.com/programisti","followers_url":"https://api.github.com/users/programisti/followers","following_url":"https://api.github.com/users/programisti/following{/other_user}","gists_url":"https://api.github.com/users/programisti/gists{/gist_id}","starred_url":"https://api.github.com/users/programisti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/programisti/subscriptions","organizations_url":"https://api.github.com/users/programisti/orgs","repos_url":"https://api.github.com/users/programisti/repos","events_url":"https://api.github.com/users/programisti/events{/privacy}","received_events_url":"https://api.github.com/users/programisti/received_events","type":"User","site_admin":false},"body":"Finished\r\nI moved doc function with namespace support into separate function called namespace\r\nit works like this\r\n```elixir\r\nnamespace([person: [first: \"Josh\", last: \"Nussbaum\"]], \"s\") \r\n```\r\n```xml\r\n<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\\n<s:person>\\n\\t<s:first>Josh</s:first>\\n\\t<s:last>Nussbaum</s:last>\\n</s:person>\r\n```\r\nI have also added test (see last one)","created_at":"2016-06-17T13:43:52Z","updated_at":"2016-06-17T16:05:16Z","closed_at":"2016-06-17T16:05:16Z","merged_at":null,"merge_commit_sha":"2a73a4bed374fb074c1678bd748ab2fbfc7819dd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/joshnuss/xml_builder/pulls/12/commits","review_comments_url":"https://api.github.com/repos/joshnuss/xml_builder/pulls/12/comments","review_comment_url":"https://api.github.com/repos/joshnuss/xml_builder/pulls/comments{/number}","comments_url":"https://api.github.com/repos/joshnuss/xml_builder/issues/12/comments","statuses_url":"https://api.github.com/repos/joshnuss/xml_builder/statuses/67a72ab2bb0c0c127a7ea631e60cab30df5e778f","head":{"label":"programisti:master","ref":"master","sha":"67a72ab2bb0c0c127a7ea631e60cab30df5e778f","user":{"login":"programisti","id":1515573,"avatar_url":"https://avatars.githubusercontent.com/u/1515573?v=3","gravatar_id":"","url":"https://api.github.com/users/programisti","html_url":"https://github.com/programisti","followers_url":"https://api.github.com/users/programisti/followers","following_url":"https://api.github.com/users/programisti/following{/other_user}","gists_url":"https://api.github.com/users/programisti/gists{/gist_id}","starred_url":"https://api.github.com/users/programisti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/programisti/subscriptions","organizations_url":"https://api.github.com/users/programisti/orgs","repos_url":"https://api.github.com/users/programisti/repos","events_url":"https://api.github.com/users/programisti/events{/privacy}","received_events_url":"https://api.github.com/users/programisti/received_events","type":"User","site_admin":false},"repo":{"id":61373545,"name":"xml_builder","full_name":"programisti/xml_builder","owner":{"login":"programisti","id":1515573,"avatar_url":"https://avatars.githubusercontent.com/u/1515573?v=3","gravatar_id":"","url":"https://api.github.com/users/programisti","html_url":"https://github.com/programisti","followers_url":"https://api.github.com/users/programisti/followers","following_url":"https://api.github.com/users/programisti/following{/other_user}","gists_url":"https://api.github.com/users/programisti/gists{/gist_id}","starred_url":"https://api.github.com/users/programisti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/programisti/subscriptions","organizations_url":"https://api.github.com/users/programisti/orgs","repos_url":"https://api.github.com/users/programisti/repos","events_url":"https://api.github.com/users/programisti/events{/privacy}","received_events_url":"https://api.github.com/users/programisti/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/programisti/xml_builder","description":"Elixir library for generating xml","fork":true,"url":"https://api.github.com/repos/programisti/xml_builder","forks_url":"https://api.github.com/repos/programisti/xml_builder/forks","keys_url":"https://api.github.com/repos/programisti/xml_builder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/programisti/xml_builder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/programisti/xml_builder/teams","hooks_url":"https://api.github.com/repos/programisti/xml_builder/hooks","issue_events_url":"https://api.github.com/repos/programisti/xml_builder/issues/events{/number}","events_url":"https://api.github.com/repos/programisti/xml_builder/events","assignees_url":"https://api.github.com/repos/programisti/xml_builder/assignees{/user}","branches_url":"https://api.github.com/repos/programisti/xml_builder/branches{/branch}","tags_url":"https://api.github.com/repos/programisti/xml_builder/tags","blobs_url":"https://api.github.com/repos/programisti/xml_builder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/programisti/xml_builder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/programisti/xml_builder/git/refs{/sha}","trees_url":"https://api.github.com/repos/programisti/xml_builder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/programisti/xml_builder/statuses/{sha}","languages_url":"https://api.github.com/repos/programisti/xml_builder/languages","stargazers_url":"https://api.github.com/repos/programisti/xml_builder/stargazers","contributors_url":"https://api.github.com/repos/programisti/xml_builder/contributors","subscribers_url":"https://api.github.com/repos/programisti/xml_builder/subscribers","subscription_url":"https://api.github.com/repos/programisti/xml_builder/subscription","commits_url":"https://api.github.com/repos/programisti/xml_builder/commits{/sha}","git_commits_url":"https://api.github.com/repos/programisti/xml_builder/git/commits{/sha}","comments_url":"https://api.github.com/repos/programisti/xml_builder/comments{/number}","issue_comment_url":"https://api.github.com/repos/programisti/xml_builder/issues/comments{/number}","contents_url":"https://api.github.com/repos/programisti/xml_builder/contents/{+path}","compare_url":"https://api.github.com/repos/programisti/xml_builder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/programisti/xml_builder/merges","archive_url":"https://api.github.com/repos/programisti/xml_builder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/programisti/xml_builder/downloads","issues_url":"https://api.github.com/repos/programisti/xml_builder/issues{/number}","pulls_url":"https://api.github.com/repos/programisti/xml_builder/pulls{/number}","milestones_url":"https://api.github.com/repos/programisti/xml_builder/milestones{/number}","notifications_url":"https://api.github.com/repos/programisti/xml_builder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/programisti/xml_builder/labels{/name}","releases_url":"https://api.github.com/repos/programisti/xml_builder/releases{/id}","deployments_url":"https://api.github.com/repos/programisti/xml_builder/deployments","created_at":"2016-06-17T12:56:05Z","updated_at":"2016-06-17T12:56:05Z","pushed_at":"2016-06-17T13:36:54Z","git_url":"git://github.com/programisti/xml_builder.git","ssh_url":"git@github.com:programisti/xml_builder.git","clone_url":"https://github.com/programisti/xml_builder.git","svn_url":"https://github.com/programisti/xml_builder","homepage":null,"size":38,"stargazers_count":0,"watchers_count":0,"language":"Elixir","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"joshnuss:master","ref":"master","sha":"48b3acf8c19988a51928694927deb8fc0f66e62f","user":{"login":"joshnuss","id":4437,"avatar_url":"https://avatars.githubusercontent.com/u/4437?v=3","gravatar_id":"","url":"https://api.github.com/users/joshnuss","html_url":"https://github.com/joshnuss","followers_url":"https://api.github.com/users/joshnuss/followers","following_url":"https://api.github.com/users/joshnuss/following{/other_user}","gists_url":"https://api.github.com/users/joshnuss/gists{/gist_id}","starred_url":"https://api.github.com/users/joshnuss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshnuss/subscriptions","organizations_url":"https://api.github.com/users/joshnuss/orgs","repos_url":"https://api.github.com/users/joshnuss/repos","events_url":"https://api.github.com/users/joshnuss/events{/privacy}","received_events_url":"https://api.github.com/users/joshnuss/received_events","type":"User","site_admin":false},"repo":{"id":21907634,"name":"xml_builder","full_name":"joshnuss/xml_builder","owner":{"login":"joshnuss","id":4437,"avatar_url":"https://avatars.githubusercontent.com/u/4437?v=3","gravatar_id":"","url":"https://api.github.com/users/joshnuss","html_url":"https://github.com/joshnuss","followers_url":"https://api.github.com/users/joshnuss/followers","following_url":"https://api.github.com/users/joshnuss/following{/other_user}","gists_url":"https://api.github.com/users/joshnuss/gists{/gist_id}","starred_url":"https://api.github.com/users/joshnuss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshnuss/subscriptions","organizations_url":"https://api.github.com/users/joshnuss/orgs","repos_url":"https://api.github.com/users/joshnuss/repos","events_url":"https://api.github.com/users/joshnuss/events{/privacy}","received_events_url":"https://api.github.com/users/joshnuss/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/joshnuss/xml_builder","description":"Elixir library for generating xml","fork":false,"url":"https://api.github.com/repos/joshnuss/xml_builder","forks_url":"https://api.github.com/repos/joshnuss/xml_builder/forks","keys_url":"https://api.github.com/repos/joshnuss/xml_builder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joshnuss/xml_builder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joshnuss/xml_builder/teams","hooks_url":"https://api.github.com/repos/joshnuss/xml_builder/hooks","issue_events_url":"https://api.github.com/repos/joshnuss/xml_builder/issues/events{/number}","events_url":"https://api.github.com/repos/joshnuss/xml_builder/events","assignees_url":"https://api.github.com/repos/joshnuss/xml_builder/assignees{/user}","branches_url":"https://api.github.com/repos/joshnuss/xml_builder/branches{/branch}","tags_url":"https://api.github.com/repos/joshnuss/xml_builder/tags","blobs_url":"https://api.github.com/repos/joshnuss/xml_builder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joshnuss/xml_builder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joshnuss/xml_builder/git/refs{/sha}","trees_url":"https://api.github.com/repos/joshnuss/xml_builder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joshnuss/xml_builder/statuses/{sha}","languages_url":"https://api.github.com/repos/joshnuss/xml_builder/languages","stargazers_url":"https://api.github.com/repos/joshnuss/xml_builder/stargazers","contributors_url":"https://api.github.com/repos/joshnuss/xml_builder/contributors","subscribers_url":"https://api.github.com/repos/joshnuss/xml_builder/subscribers","subscription_url":"https://api.github.com/repos/joshnuss/xml_builder/subscription","commits_url":"https://api.github.com/repos/joshnuss/xml_builder/commits{/sha}","git_commits_url":"https://api.github.com/repos/joshnuss/xml_builder/git/commits{/sha}","comments_url":"https://api.github.com/repos/joshnuss/xml_builder/comments{/number}","issue_comment_url":"https://api.github.com/repos/joshnuss/xml_builder/issues/comments{/number}","contents_url":"https://api.github.com/repos/joshnuss/xml_builder/contents/{+path}","compare_url":"https://api.github.com/repos/joshnuss/xml_builder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joshnuss/xml_builder/merges","archive_url":"https://api.github.com/repos/joshnuss/xml_builder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joshnuss/xml_builder/downloads","issues_url":"https://api.github.com/repos/joshnuss/xml_builder/issues{/number}","pulls_url":"https://api.github.com/repos/joshnuss/xml_builder/pulls{/number}","milestones_url":"https://api.github.com/repos/joshnuss/xml_builder/milestones{/number}","notifications_url":"https://api.github.com/repos/joshnuss/xml_builder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joshnuss/xml_builder/labels{/name}","releases_url":"https://api.github.com/repos/joshnuss/xml_builder/releases{/id}","deployments_url":"https://api.github.com/repos/joshnuss/xml_builder/deployments","created_at":"2014-07-16T16:02:14Z","updated_at":"2016-06-16T22:53:33Z","pushed_at":"2016-06-17T13:43:53Z","git_url":"git://github.com/joshnuss/xml_builder.git","ssh_url":"git@github.com:joshnuss/xml_builder.git","clone_url":"https://github.com/joshnuss/xml_builder.git","svn_url":"https://github.com/joshnuss/xml_builder","homepage":null,"size":34,"stargazers_count":34,"watchers_count":34,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":0,"forks":9,"open_issues":0,"watchers":34,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/joshnuss/xml_builder/pulls/12"},"html":{"href":"https://github.com/joshnuss/xml_builder/pull/12"},"issue":{"href":"https://api.github.com/repos/joshnuss/xml_builder/issues/12"},"comments":{"href":"https://api.github.com/repos/joshnuss/xml_builder/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/joshnuss/xml_builder/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/joshnuss/xml_builder/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/joshnuss/xml_builder/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/joshnuss/xml_builder/statuses/67a72ab2bb0c0c127a7ea631e60cab30df5e778f"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"commits":4,"additions":51,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"joshnuss"}}