{"action":"created","comment":{"url":"https://api.github.com/repos/cthdidIT/itbio/pulls/comments/82488919","pull_request_review_id":3396608,"id":82488919,"diff_hunk":"@@ -26,5 +26,28 @@ def showing_confirmed(showing)\n                               url_title: \"Link to showing\")\n       end\n     end\n+\n+    def showing_ordered(showing)\n+      @showing = showing\n+      # Should send the cost of the showing.\n+      # also use the payment information, företagsbiljett etc...\n+\n+\n+      cost = @showing.selected_time_slot.price\n+      nick = @showing.owner.nick\n+      phone = @showing.owner.phone_number\n+      message = \"#{@showing.movie.title}, Pay #{cost} to #{nick} (#{phone})\"\n+      p message\n+      User.with_push_key.each do |user|\n+        p user.nick","path":"lib/push.rb","position":17,"original_position":17,"commit_id":"a342d50aeafc41516790827ac54d456c8b651ae4","original_commit_id":"a342d50aeafc41516790827ac54d456c8b651ae4","user":{"login":"Tejpbit","id":6124487,"avatar_url":"https://avatars.githubusercontent.com/u/6124487?v=3","gravatar_id":"","url":"https://api.github.com/users/Tejpbit","html_url":"https://github.com/Tejpbit","followers_url":"https://api.github.com/users/Tejpbit/followers","following_url":"https://api.github.com/users/Tejpbit/following{/other_user}","gists_url":"https://api.github.com/users/Tejpbit/gists{/gist_id}","starred_url":"https://api.github.com/users/Tejpbit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tejpbit/subscriptions","organizations_url":"https://api.github.com/users/Tejpbit/orgs","repos_url":"https://api.github.com/users/Tejpbit/repos","events_url":"https://api.github.com/users/Tejpbit/events{/privacy}","received_events_url":"https://api.github.com/users/Tejpbit/received_events","type":"User","site_admin":false},"body":"no print pls","created_at":"2016-10-08T00:09:08Z","updated_at":"2016-10-08T00:09:26Z","html_url":"https://github.com/cthdidIT/itbio/pull/48#discussion_r82488919","pull_request_url":"https://api.github.com/repos/cthdidIT/itbio/pulls/48","_links":{"self":{"href":"https://api.github.com/repos/cthdidIT/itbio/pulls/comments/82488919"},"html":{"href":"https://github.com/cthdidIT/itbio/pull/48#discussion_r82488919"},"pull_request":{"href":"https://api.github.com/repos/cthdidIT/itbio/pulls/48"}}},"pull_request":{"url":"https://api.github.com/repos/cthdidIT/itbio/pulls/48","id":88524719,"html_url":"https://github.com/cthdidIT/itbio/pull/48","diff_url":"https://github.com/cthdidIT/itbio/pull/48.diff","patch_url":"https://github.com/cthdidIT/itbio/pull/48.patch","issue_url":"https://api.github.com/repos/cthdidIT/itbio/issues/48","number":48,"state":"open","locked":false,"title":"Add order step with push notifications","user":{"login":"Tejpbit","id":6124487,"avatar_url":"https://avatars.githubusercontent.com/u/6124487?v=3","gravatar_id":"","url":"https://api.github.com/users/Tejpbit","html_url":"https://github.com/Tejpbit","followers_url":"https://api.github.com/users/Tejpbit/followers","following_url":"https://api.github.com/users/Tejpbit/following{/other_user}","gists_url":"https://api.github.com/users/Tejpbit/gists{/gist_id}","starred_url":"https://api.github.com/users/Tejpbit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tejpbit/subscriptions","organizations_url":"https://api.github.com/users/Tejpbit/orgs","repos_url":"https://api.github.com/users/Tejpbit/repos","events_url":"https://api.github.com/users/Tejpbit/events{/privacy}","received_events_url":"https://api.github.com/users/Tejpbit/received_events","type":"User","site_admin":false},"body":"Closes #44 and #45 ","created_at":"2016-10-07T23:57:02Z","updated_at":"2016-10-08T00:09:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"22d1af3d72fcc88fd5954ca874f8df718591ebf6","assignee":{"login":"lindskogen","id":817046,"avatar_url":"https://avatars.githubusercontent.com/u/817046?v=3","gravatar_id":"","url":"https://api.github.com/users/lindskogen","html_url":"https://github.com/lindskogen","followers_url":"https://api.github.com/users/lindskogen/followers","following_url":"https://api.github.com/users/lindskogen/following{/other_user}","gists_url":"https://api.github.com/users/lindskogen/gists{/gist_id}","starred_url":"https://api.github.com/users/lindskogen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lindskogen/subscriptions","organizations_url":"https://api.github.com/users/lindskogen/orgs","repos_url":"https://api.github.com/users/lindskogen/repos","events_url":"https://api.github.com/users/lindskogen/events{/privacy}","received_events_url":"https://api.github.com/users/lindskogen/received_events","type":"User","site_admin":false},"assignees":[{"login":"lindskogen","id":817046,"avatar_url":"https://avatars.githubusercontent.com/u/817046?v=3","gravatar_id":"","url":"https://api.github.com/users/lindskogen","html_url":"https://github.com/lindskogen","followers_url":"https://api.github.com/users/lindskogen/followers","following_url":"https://api.github.com/users/lindskogen/following{/other_user}","gists_url":"https://api.github.com/users/lindskogen/gists{/gist_id}","starred_url":"https://api.github.com/users/lindskogen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lindskogen/subscriptions","organizations_url":"https://api.github.com/users/lindskogen/orgs","repos_url":"https://api.github.com/users/lindskogen/repos","events_url":"https://api.github.com/users/lindskogen/events{/privacy}","received_events_url":"https://api.github.com/users/lindskogen/received_events","type":"User","site_admin":false},{"login":"Tejpbit","id":6124487,"avatar_url":"https://avatars.githubusercontent.com/u/6124487?v=3","gravatar_id":"","url":"https://api.github.com/users/Tejpbit","html_url":"https://github.com/Tejpbit","followers_url":"https://api.github.com/users/Tejpbit/followers","following_url":"https://api.github.com/users/Tejpbit/following{/other_user}","gists_url":"https://api.github.com/users/Tejpbit/gists{/gist_id}","starred_url":"https://api.github.com/users/Tejpbit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tejpbit/subscriptions","organizations_url":"https://api.github.com/users/Tejpbit/orgs","repos_url":"https://api.github.com/users/Tejpbit/repos","events_url":"https://api.github.com/users/Tejpbit/events{/privacy}","received_events_url":"https://api.github.com/users/Tejpbit/received_events","type":"User","site_admin":false},{"login":"juiceit","id":6987939,"avatar_url":"https://avatars.githubusercontent.com/u/6987939?v=3","gravatar_id":"","url":"https://api.github.com/users/juiceit","html_url":"https://github.com/juiceit","followers_url":"https://api.github.com/users/juiceit/followers","following_url":"https://api.github.com/users/juiceit/following{/other_user}","gists_url":"https://api.github.com/users/juiceit/gists{/gist_id}","starred_url":"https://api.github.com/users/juiceit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juiceit/subscriptions","organizations_url":"https://api.github.com/users/juiceit/orgs","repos_url":"https://api.github.com/users/juiceit/repos","events_url":"https://api.github.com/users/juiceit/events{/privacy}","received_events_url":"https://api.github.com/users/juiceit/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/cthdidIT/itbio/pulls/48/commits","review_comments_url":"https://api.github.com/repos/cthdidIT/itbio/pulls/48/comments","review_comment_url":"https://api.github.com/repos/cthdidIT/itbio/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cthdidIT/itbio/issues/48/comments","statuses_url":"https://api.github.com/repos/cthdidIT/itbio/statuses/a342d50aeafc41516790827ac54d456c8b651ae4","head":{"label":"cthdidIT:feature/add-order-step","ref":"feature/add-order-step","sha":"a342d50aeafc41516790827ac54d456c8b651ae4","user":{"login":"cthdidIT","id":20031072,"avatar_url":"https://avatars.githubusercontent.com/u/20031072?v=3","gravatar_id":"","url":"https://api.github.com/users/cthdidIT","html_url":"https://github.com/cthdidIT","followers_url":"https://api.github.com/users/cthdidIT/followers","following_url":"https://api.github.com/users/cthdidIT/following{/other_user}","gists_url":"https://api.github.com/users/cthdidIT/gists{/gist_id}","starred_url":"https://api.github.com/users/cthdidIT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cthdidIT/subscriptions","organizations_url":"https://api.github.com/users/cthdidIT/orgs","repos_url":"https://api.github.com/users/cthdidIT/repos","events_url":"https://api.github.com/users/cthdidIT/events{/privacy}","received_events_url":"https://api.github.com/users/cthdidIT/received_events","type":"Organization","site_admin":false},"repo":{"id":61500913,"name":"itbio","full_name":"cthdidIT/itbio","owner":{"login":"cthdidIT","id":20031072,"avatar_url":"https://avatars.githubusercontent.com/u/20031072?v=3","gravatar_id":"","url":"https://api.github.com/users/cthdidIT","html_url":"https://github.com/cthdidIT","followers_url":"https://api.github.com/users/cthdidIT/followers","following_url":"https://api.github.com/users/cthdidIT/following{/other_user}","gists_url":"https://api.github.com/users/cthdidIT/gists{/gist_id}","starred_url":"https://api.github.com/users/cthdidIT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cthdidIT/subscriptions","organizations_url":"https://api.github.com/users/cthdidIT/orgs","repos_url":"https://api.github.com/users/cthdidIT/repos","events_url":"https://api.github.com/users/cthdidIT/events{/privacy}","received_events_url":"https://api.github.com/users/cthdidIT/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cthdidIT/itbio","description":"A doodle-like app for arranging and going to the cinema with your friends","fork":false,"url":"https://api.github.com/repos/cthdidIT/itbio","forks_url":"https://api.github.com/repos/cthdidIT/itbio/forks","keys_url":"https://api.github.com/repos/cthdidIT/itbio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cthdidIT/itbio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cthdidIT/itbio/teams","hooks_url":"https://api.github.com/repos/cthdidIT/itbio/hooks","issue_events_url":"https://api.github.com/repos/cthdidIT/itbio/issues/events{/number}","events_url":"https://api.github.com/repos/cthdidIT/itbio/events","assignees_url":"https://api.github.com/repos/cthdidIT/itbio/assignees{/user}","branches_url":"https://api.github.com/repos/cthdidIT/itbio/branches{/branch}","tags_url":"https://api.github.com/repos/cthdidIT/itbio/tags","blobs_url":"https://api.github.com/repos/cthdidIT/itbio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cthdidIT/itbio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cthdidIT/itbio/git/refs{/sha}","trees_url":"https://api.github.com/repos/cthdidIT/itbio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cthdidIT/itbio/statuses/{sha}","languages_url":"https://api.github.com/repos/cthdidIT/itbio/languages","stargazers_url":"https://api.github.com/repos/cthdidIT/itbio/stargazers","contributors_url":"https://api.github.com/repos/cthdidIT/itbio/contributors","subscribers_url":"https://api.github.com/repos/cthdidIT/itbio/subscribers","subscription_url":"https://api.github.com/repos/cthdidIT/itbio/subscription","commits_url":"https://api.github.com/repos/cthdidIT/itbio/commits{/sha}","git_commits_url":"https://api.github.com/repos/cthdidIT/itbio/git/commits{/sha}","comments_url":"https://api.github.com/repos/cthdidIT/itbio/comments{/number}","issue_comment_url":"https://api.github.com/repos/cthdidIT/itbio/issues/comments{/number}","contents_url":"https://api.github.com/repos/cthdidIT/itbio/contents/{+path}","compare_url":"https://api.github.com/repos/cthdidIT/itbio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cthdidIT/itbio/merges","archive_url":"https://api.github.com/repos/cthdidIT/itbio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cthdidIT/itbio/downloads","issues_url":"https://api.github.com/repos/cthdidIT/itbio/issues{/number}","pulls_url":"https://api.github.com/repos/cthdidIT/itbio/pulls{/number}","milestones_url":"https://api.github.com/repos/cthdidIT/itbio/milestones{/number}","notifications_url":"https://api.github.com/repos/cthdidIT/itbio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cthdidIT/itbio/labels{/name}","releases_url":"https://api.github.com/repos/cthdidIT/itbio/releases{/id}","deployments_url":"https://api.github.com/repos/cthdidIT/itbio/deployments","created_at":"2016-06-19T21:20:02Z","updated_at":"2016-07-14T18:07:09Z","pushed_at":"2016-10-07T23:57:03Z","git_url":"git://github.com/cthdidIT/itbio.git","ssh_url":"git@github.com:cthdidIT/itbio.git","clone_url":"https://github.com/cthdidIT/itbio.git","svn_url":"https://github.com/cthdidIT/itbio","homepage":"https://sf.didit.rocks","size":484,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":18,"forks":0,"open_issues":18,"watchers":0,"default_branch":"master"}},"base":{"label":"cthdidIT:master","ref":"master","sha":"084a2ddbcd3e33d610ac42561b5fdb959f377d8c","user":{"login":"cthdidIT","id":20031072,"avatar_url":"https://avatars.githubusercontent.com/u/20031072?v=3","gravatar_id":"","url":"https://api.github.com/users/cthdidIT","html_url":"https://github.com/cthdidIT","followers_url":"https://api.github.com/users/cthdidIT/followers","following_url":"https://api.github.com/users/cthdidIT/following{/other_user}","gists_url":"https://api.github.com/users/cthdidIT/gists{/gist_id}","starred_url":"https://api.github.com/users/cthdidIT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cthdidIT/subscriptions","organizations_url":"https://api.github.com/users/cthdidIT/orgs","repos_url":"https://api.github.com/users/cthdidIT/repos","events_url":"https://api.github.com/users/cthdidIT/events{/privacy}","received_events_url":"https://api.github.com/users/cthdidIT/received_events","type":"Organization","site_admin":false},"repo":{"id":61500913,"name":"itbio","full_name":"cthdidIT/itbio","owner":{"login":"cthdidIT","id":20031072,"avatar_url":"https://avatars.githubusercontent.com/u/20031072?v=3","gravatar_id":"","url":"https://api.github.com/users/cthdidIT","html_url":"https://github.com/cthdidIT","followers_url":"https://api.github.com/users/cthdidIT/followers","following_url":"https://api.github.com/users/cthdidIT/following{/other_user}","gists_url":"https://api.github.com/users/cthdidIT/gists{/gist_id}","starred_url":"https://api.github.com/users/cthdidIT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cthdidIT/subscriptions","organizations_url":"https://api.github.com/users/cthdidIT/orgs","repos_url":"https://api.github.com/users/cthdidIT/repos","events_url":"https://api.github.com/users/cthdidIT/events{/privacy}","received_events_url":"https://api.github.com/users/cthdidIT/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cthdidIT/itbio","description":"A doodle-like app for arranging and going to the cinema with your friends","fork":false,"url":"https://api.github.com/repos/cthdidIT/itbio","forks_url":"https://api.github.com/repos/cthdidIT/itbio/forks","keys_url":"https://api.github.com/repos/cthdidIT/itbio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cthdidIT/itbio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cthdidIT/itbio/teams","hooks_url":"https://api.github.com/repos/cthdidIT/itbio/hooks","issue_events_url":"https://api.github.com/repos/cthdidIT/itbio/issues/events{/number}","events_url":"https://api.github.com/repos/cthdidIT/itbio/events","assignees_url":"https://api.github.com/repos/cthdidIT/itbio/assignees{/user}","branches_url":"https://api.github.com/repos/cthdidIT/itbio/branches{/branch}","tags_url":"https://api.github.com/repos/cthdidIT/itbio/tags","blobs_url":"https://api.github.com/repos/cthdidIT/itbio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cthdidIT/itbio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cthdidIT/itbio/git/refs{/sha}","trees_url":"https://api.github.com/repos/cthdidIT/itbio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cthdidIT/itbio/statuses/{sha}","languages_url":"https://api.github.com/repos/cthdidIT/itbio/languages","stargazers_url":"https://api.github.com/repos/cthdidIT/itbio/stargazers","contributors_url":"https://api.github.com/repos/cthdidIT/itbio/contributors","subscribers_url":"https://api.github.com/repos/cthdidIT/itbio/subscribers","subscription_url":"https://api.github.com/repos/cthdidIT/itbio/subscription","commits_url":"https://api.github.com/repos/cthdidIT/itbio/commits{/sha}","git_commits_url":"https://api.github.com/repos/cthdidIT/itbio/git/commits{/sha}","comments_url":"https://api.github.com/repos/cthdidIT/itbio/comments{/number}","issue_comment_url":"https://api.github.com/repos/cthdidIT/itbio/issues/comments{/number}","contents_url":"https://api.github.com/repos/cthdidIT/itbio/contents/{+path}","compare_url":"https://api.github.com/repos/cthdidIT/itbio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cthdidIT/itbio/merges","archive_url":"https://api.github.com/repos/cthdidIT/itbio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cthdidIT/itbio/downloads","issues_url":"https://api.github.com/repos/cthdidIT/itbio/issues{/number}","pulls_url":"https://api.github.com/repos/cthdidIT/itbio/pulls{/number}","milestones_url":"https://api.github.com/repos/cthdidIT/itbio/milestones{/number}","notifications_url":"https://api.github.com/repos/cthdidIT/itbio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cthdidIT/itbio/labels{/name}","releases_url":"https://api.github.com/repos/cthdidIT/itbio/releases{/id}","deployments_url":"https://api.github.com/repos/cthdidIT/itbio/deployments","created_at":"2016-06-19T21:20:02Z","updated_at":"2016-07-14T18:07:09Z","pushed_at":"2016-10-07T23:57:03Z","git_url":"git://github.com/cthdidIT/itbio.git","ssh_url":"git@github.com:cthdidIT/itbio.git","clone_url":"https://github.com/cthdidIT/itbio.git","svn_url":"https://github.com/cthdidIT/itbio","homepage":"https://sf.didit.rocks","size":484,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":18,"forks":0,"open_issues":18,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cthdidIT/itbio/pulls/48"},"html":{"href":"https://github.com/cthdidIT/itbio/pull/48"},"issue":{"href":"https://api.github.com/repos/cthdidIT/itbio/issues/48"},"comments":{"href":"https://api.github.com/repos/cthdidIT/itbio/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/cthdidIT/itbio/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/cthdidIT/itbio/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cthdidIT/itbio/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/cthdidIT/itbio/statuses/a342d50aeafc41516790827ac54d456c8b651ae4"}}}}
{"actor":{"display_login":"Tejpbit"}}