{"action":"opened","number":3,"pull_request":{"url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/pulls/3","id":193977674,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzOTc3Njc0","html_url":"https://github.com/MihailBohnearschi/mbohnearschi_ruby_tasks/pull/3","diff_url":"https://github.com/MihailBohnearschi/mbohnearschi_ruby_tasks/pull/3.diff","patch_url":"https://github.com/MihailBohnearschi/mbohnearschi_ruby_tasks/pull/3.patch","issue_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/issues/3","number":3,"state":"open","locked":false,"title":"Book Parser task","user":{"login":"MihailBohnearschi","id":6957940,"node_id":"MDQ6VXNlcjY5NTc5NDA=","avatar_url":"https://avatars1.githubusercontent.com/u/6957940?v=4","gravatar_id":"","url":"https://api.github.com/users/MihailBohnearschi","html_url":"https://github.com/MihailBohnearschi","followers_url":"https://api.github.com/users/MihailBohnearschi/followers","following_url":"https://api.github.com/users/MihailBohnearschi/following{/other_user}","gists_url":"https://api.github.com/users/MihailBohnearschi/gists{/gist_id}","starred_url":"https://api.github.com/users/MihailBohnearschi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MihailBohnearschi/subscriptions","organizations_url":"https://api.github.com/users/MihailBohnearschi/orgs","repos_url":"https://api.github.com/users/MihailBohnearschi/repos","events_url":"https://api.github.com/users/MihailBohnearschi/events{/privacy}","received_events_url":"https://api.github.com/users/MihailBohnearschi/received_events","type":"User","site_admin":false},"body":"Create a class that takes information from a txt file and transforms it into a book with pages, every page should have max 800 symbols (but don’t break a word in half). The Book class should have following methods:\r\n\r\n- Create a book from file (returns true if all good, or false if an error has occurred, or no file exists) \r\n- Give name\r\n- Give author\r\n- Go to a certain page (returns text of the page + page number at the bottom)\r\n- Get number of total pages (returns number)\r\n- Get current page (returns text of the page + page number at the bottom)\r\n- Next page (returns text of the page + page number at the bottom)\r\n- Previous page (returns text of the page + page number at the bottom)\r\n- First page (returns text of the page + page number at the bottom)\r\n- Last page (returns text of the page + page number at the bottom)\r\n- Skip n pages (returns text of the page + page number at the bottom)\r\n- Bookmark a page (returns true)\r\n- Get list of all bookmarked pages (returns list of numbers)\r\n","created_at":"2018-06-11T13:15:27Z","updated_at":"2018-06-11T13:15:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/pulls/3/commits","review_comments_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/pulls/3/comments","review_comment_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/issues/3/comments","statuses_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/statuses/435782506aca41d79153ce10180d2c75bb8724ba","head":{"label":"MihailBohnearschi:task/book_parser","ref":"task/book_parser","sha":"435782506aca41d79153ce10180d2c75bb8724ba","user":{"login":"MihailBohnearschi","id":6957940,"node_id":"MDQ6VXNlcjY5NTc5NDA=","avatar_url":"https://avatars1.githubusercontent.com/u/6957940?v=4","gravatar_id":"","url":"https://api.github.com/users/MihailBohnearschi","html_url":"https://github.com/MihailBohnearschi","followers_url":"https://api.github.com/users/MihailBohnearschi/followers","following_url":"https://api.github.com/users/MihailBohnearschi/following{/other_user}","gists_url":"https://api.github.com/users/MihailBohnearschi/gists{/gist_id}","starred_url":"https://api.github.com/users/MihailBohnearschi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MihailBohnearschi/subscriptions","organizations_url":"https://api.github.com/users/MihailBohnearschi/orgs","repos_url":"https://api.github.com/users/MihailBohnearschi/repos","events_url":"https://api.github.com/users/MihailBohnearschi/events{/privacy}","received_events_url":"https://api.github.com/users/MihailBohnearschi/received_events","type":"User","site_admin":false},"repo":{"id":136925125,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY5MjUxMjU=","name":"mbohnearschi_ruby_tasks","full_name":"MihailBohnearschi/mbohnearschi_ruby_tasks","owner":{"login":"MihailBohnearschi","id":6957940,"node_id":"MDQ6VXNlcjY5NTc5NDA=","avatar_url":"https://avatars1.githubusercontent.com/u/6957940?v=4","gravatar_id":"","url":"https://api.github.com/users/MihailBohnearschi","html_url":"https://github.com/MihailBohnearschi","followers_url":"https://api.github.com/users/MihailBohnearschi/followers","following_url":"https://api.github.com/users/MihailBohnearschi/following{/other_user}","gists_url":"https://api.github.com/users/MihailBohnearschi/gists{/gist_id}","starred_url":"https://api.github.com/users/MihailBohnearschi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MihailBohnearschi/subscriptions","organizations_url":"https://api.github.com/users/MihailBohnearschi/orgs","repos_url":"https://api.github.com/users/MihailBohnearschi/repos","events_url":"https://api.github.com/users/MihailBohnearschi/events{/privacy}","received_events_url":"https://api.github.com/users/MihailBohnearschi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MihailBohnearschi/mbohnearschi_ruby_tasks","description":null,"fork":false,"url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks","forks_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/forks","keys_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/teams","hooks_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/hooks","issue_events_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/issues/events{/number}","events_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/events","assignees_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/assignees{/user}","branches_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/branches{/branch}","tags_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/tags","blobs_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/git/refs{/sha}","trees_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/statuses/{sha}","languages_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/languages","stargazers_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/stargazers","contributors_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/contributors","subscribers_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/subscribers","subscription_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/subscription","commits_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/commits{/sha}","git_commits_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/git/commits{/sha}","comments_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/comments{/number}","issue_comment_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/issues/comments{/number}","contents_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/contents/{+path}","compare_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/merges","archive_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/downloads","issues_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/issues{/number}","pulls_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/pulls{/number}","milestones_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/milestones{/number}","notifications_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/labels{/name}","releases_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/releases{/id}","deployments_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/deployments","created_at":"2018-06-11T12:45:26Z","updated_at":"2018-06-11T12:48:13Z","pushed_at":"2018-06-11T13:14:28Z","git_url":"git://github.com/MihailBohnearschi/mbohnearschi_ruby_tasks.git","ssh_url":"git@github.com:MihailBohnearschi/mbohnearschi_ruby_tasks.git","clone_url":"https://github.com/MihailBohnearschi/mbohnearschi_ruby_tasks.git","svn_url":"https://github.com/MihailBohnearschi/mbohnearschi_ruby_tasks","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"book_parser"}},"base":{"label":"MihailBohnearschi:master","ref":"master","sha":"8c70289dfaa8a79053c2e8e17f84beeb54e6d5df","user":{"login":"MihailBohnearschi","id":6957940,"node_id":"MDQ6VXNlcjY5NTc5NDA=","avatar_url":"https://avatars1.githubusercontent.com/u/6957940?v=4","gravatar_id":"","url":"https://api.github.com/users/MihailBohnearschi","html_url":"https://github.com/MihailBohnearschi","followers_url":"https://api.github.com/users/MihailBohnearschi/followers","following_url":"https://api.github.com/users/MihailBohnearschi/following{/other_user}","gists_url":"https://api.github.com/users/MihailBohnearschi/gists{/gist_id}","starred_url":"https://api.github.com/users/MihailBohnearschi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MihailBohnearschi/subscriptions","organizations_url":"https://api.github.com/users/MihailBohnearschi/orgs","repos_url":"https://api.github.com/users/MihailBohnearschi/repos","events_url":"https://api.github.com/users/MihailBohnearschi/events{/privacy}","received_events_url":"https://api.github.com/users/MihailBohnearschi/received_events","type":"User","site_admin":false},"repo":{"id":136925125,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY5MjUxMjU=","name":"mbohnearschi_ruby_tasks","full_name":"MihailBohnearschi/mbohnearschi_ruby_tasks","owner":{"login":"MihailBohnearschi","id":6957940,"node_id":"MDQ6VXNlcjY5NTc5NDA=","avatar_url":"https://avatars1.githubusercontent.com/u/6957940?v=4","gravatar_id":"","url":"https://api.github.com/users/MihailBohnearschi","html_url":"https://github.com/MihailBohnearschi","followers_url":"https://api.github.com/users/MihailBohnearschi/followers","following_url":"https://api.github.com/users/MihailBohnearschi/following{/other_user}","gists_url":"https://api.github.com/users/MihailBohnearschi/gists{/gist_id}","starred_url":"https://api.github.com/users/MihailBohnearschi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MihailBohnearschi/subscriptions","organizations_url":"https://api.github.com/users/MihailBohnearschi/orgs","repos_url":"https://api.github.com/users/MihailBohnearschi/repos","events_url":"https://api.github.com/users/MihailBohnearschi/events{/privacy}","received_events_url":"https://api.github.com/users/MihailBohnearschi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MihailBohnearschi/mbohnearschi_ruby_tasks","description":null,"fork":false,"url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks","forks_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/forks","keys_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/teams","hooks_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/hooks","issue_events_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/issues/events{/number}","events_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/events","assignees_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/assignees{/user}","branches_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/branches{/branch}","tags_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/tags","blobs_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/git/refs{/sha}","trees_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/statuses/{sha}","languages_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/languages","stargazers_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/stargazers","contributors_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/contributors","subscribers_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/subscribers","subscription_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/subscription","commits_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/commits{/sha}","git_commits_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/git/commits{/sha}","comments_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/comments{/number}","issue_comment_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/issues/comments{/number}","contents_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/contents/{+path}","compare_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/merges","archive_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/downloads","issues_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/issues{/number}","pulls_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/pulls{/number}","milestones_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/milestones{/number}","notifications_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/labels{/name}","releases_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/releases{/id}","deployments_url":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/deployments","created_at":"2018-06-11T12:45:26Z","updated_at":"2018-06-11T12:48:13Z","pushed_at":"2018-06-11T13:14:28Z","git_url":"git://github.com/MihailBohnearschi/mbohnearschi_ruby_tasks.git","ssh_url":"git@github.com:MihailBohnearschi/mbohnearschi_ruby_tasks.git","clone_url":"https://github.com/MihailBohnearschi/mbohnearschi_ruby_tasks.git","svn_url":"https://github.com/MihailBohnearschi/mbohnearschi_ruby_tasks","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"book_parser"}},"_links":{"self":{"href":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/pulls/3"},"html":{"href":"https://github.com/MihailBohnearschi/mbohnearschi_ruby_tasks/pull/3"},"issue":{"href":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/issues/3"},"comments":{"href":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/MihailBohnearschi/mbohnearschi_ruby_tasks/statuses/435782506aca41d79153ce10180d2c75bb8724ba"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":227,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"MihailBohnearschi"}}