{"action":"created","comment":{"url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/pulls/comments/67624072","id":67624072,"diff_hunk":"@@ -10,248 +8,408 @@ See also: https://github.com/ga-wdi-lessons/ruby-oop\n - Define inheritance in the context of OOP\n - Write a Ruby class that inherits from another\n \n-## `self` in ruby\n+## Framing\n \n-In ruby, self is very similar to `this` in Javascript, it refers to the object\n-the method was called on. Thankfully, however, it's much simpler in Ruby...\n-because methods can't be called without context (i.e. no callbacks), there's no\n-`bind` to worry about, `self` always equals the thing the method was called on.\n+[This morning](https://github.com/ga-wdi-lessons/ruby-oop) you started to learn about object-oriented programming in Ruby and how we can use classes to create a blueprint for objects containing related attributes and methods. Like constructor functions in Javascript, we can then use classes and the `.new` method to produce instances of these objects.\n \n-### Exercise on `self` (15 minutes)\n+This afternoon we're going to continue diving intro OOP in Ruby. In particular, we'll be taking a look at **inheritance** and how we can pass attributes and methods between classes.\n \n-Pair up and consider the following example, specifically the `demonstrate_using_self`\n-method. Talk with your partner for 7 minutes and discuss what effect each line\n-will have, and which one is the best.\n+But first, let's review and build upon some of the concepts that were introduced this morning...\n \n-Feel free to run this code and play with it.\n+## We Do: Let's Build A Class\n \n-```ruby\n-# person/self.rb\n-class Person\n-  attr_accessor :name\n-  attr_reader :hunger_level\n+Let's create a `Person` class...\n \n-  def initialize(initial_name, initial_hunger_level)\n-    @name = initial_name\n-    @hunger_level = initial_hunger_level\n+--------\n+\n+<details>\n+  <summary><strong>What's the difference between a class and an instance?</strong></summary>\n+  <br/>\n+\n+  A class is a blueprint. An instance is an object generated from that blueprint.\n+  * A class' name is capitalized (e.g., `Person`) and is a template for objects of that class.\n+  * An instance is one specific object created using a class (e.g. `bob = Person.new(\"Bob\", 10)`).\n+</details>\n+<br/>\n+<details>\n+  <summary><strong>How do we begin defining a <code>Person</code> class?</strong></summary>\n+\n+  ```rb\n+  class Person\n   end\n+  ```\n+\n+</details>\n+\n+--------\n \n-  def hunger_level=(new_hunger_level)\n-    if new_hunger_level < 0\n-      @hunger_level = 0\n-    else\n-      @hunger_level = new_hunger_level\n+<details>\n+  <summary><strong>How can we set up our Person class so that it has <code>name</code> and <code>age</code> attributes. We should be able to read and modify <code>name</code>, but only read <code>age</code>.</strong></summary>\n+\n+  ```rb\n+  class Person\n+    # This allows us to both read and write to the name and hunger_level attributes\n+    attr_accessor :name\n+    attr_reader :age\n+\n+    # This is run every time we call Person.new\n+    # Think of it as a \"constructor method\"\n+    def initialize(initial_name, initial_age)\n+      @name = initial_name\n+      @age = initial_age\n     end\n   end\n+  ```\n+\n+  > In place of the `attr` methods, we could also define getter and setter methods.\n+\n+</details>\n+<br/>\n+<details>\n+  <summary><strong>Why did we place an <code>@</code> in front of our variables? How else could we have written our variables?</strong></summary>\n+  <br/>\n+\n+  `@` indicates that we are defining an instance variable, which is a value that is accessible anywhere inside a given instance of a class.\n+\n+  The different types of variables we can use are...\n+\n+\n+  #### Local\n+\n+  - Written using plain vanilla names (e.g., `current_age`, `favorite_color`).\n+  - Limited in scope. Only accessible in the current method.\n+  - Used for temporary values in a class.\n+\n+  #### Instance\n+\n+  - Start with an `@` (e.g., `@name`).\n+  - Used to store attributes for a given instance.\n+  - Can be used in any instance method in the class.\n+  - Very common in ruby.\n+\n+  #### Class\n+\n+  - Start with 2 `@`s (e.g., `@@person_count`).\n+  - One copy shared between all instances.\n+  - Not very common. Over-use is considered bad practice.\n+\n+</details>\n+<br/>\n+<details>\n+  <summary><strong>How can we generate an instance of this <code>Person</code> class?</strong></summary>\n+\n+  ```rb\n+  adrian = Person.new(\"Adrian\", 29)\n+  ```\n+</details>\n+<br/>\n+<details>\n+  <summary><strong>How do we go about accessing/modifying a <code>Person</code> instance's <code>name</code> and <code>age</code> attributes?</strong></summary>\n \n-  def demonstrate_getting_name\n-    # goal is to get our person's name in the best way possible\n-    # GETTERS\n-    puts @name\n-    puts name\n-    puts self.name\n+  ```rb\n+  adrian.name\n+  # => \"Adrian\"\n+  adrian.name = \"Dwayne 'The Rock' Johnson\"\n+  adrian.name\n+  # =>\"Dwayne 'The Rock' Johnson\"\n+\n+  adrian.age\n+  # => 29\n+  adrian.age = 1\n+  # => undefined method `age='\n+  ```\n+\n+</details>\n+\n+--------\n+\n+<details>\n+  <summary><strong>Let's give our <code>Person</code> class a <code>say_name</code> method that prints his/her name to the console.</strong></summary>\n+\n+  ```rb\n+  class Person\n+    attr_accessor :name\n+    attr_reader :age\n+\n+    def initialize(initial_name, initial_age)\n+      @name = initial_name\n+      @age = initial_age\n+    end\n+\n+    def say_name\n+      puts \"Hi, my name is \" + @name + \".\"\n+    end\n   end\n \n-  def demonstrate_setting_hunger_level\n-    # goal is to set/update our person's hunger level in the best way possible\n-    # SETTERS\n-    @hunger_level = -10\n-    hunger_level = -10\n-    self.hunger_level = -10\n+  adrian = Person.new(\"Adrian\", 29)\n+  adrian.say_name\n+  # => \"Hi, my name is Adrian.\"\n+  ```\n+\n+  > We could also use `self.name` in place of the instance variable `@name`. This is actually preferable. We'll explain why later...","path":"readme.md","position":185,"original_position":185,"commit_id":"67c72ca1e0f7dc7c9aaaf09ce4147acaa4866148","original_commit_id":"67c72ca1e0f7dc7c9aaaf09ce4147acaa4866148","user":{"login":"jshawl","id":3824954,"avatar_url":"https://avatars.githubusercontent.com/u/3824954?v=3","gravatar_id":"","url":"https://api.github.com/users/jshawl","html_url":"https://github.com/jshawl","followers_url":"https://api.github.com/users/jshawl/followers","following_url":"https://api.github.com/users/jshawl/following{/other_user}","gists_url":"https://api.github.com/users/jshawl/gists{/gist_id}","starred_url":"https://api.github.com/users/jshawl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jshawl/subscriptions","organizations_url":"https://api.github.com/users/jshawl/orgs","repos_url":"https://api.github.com/users/jshawl/repos","events_url":"https://api.github.com/users/jshawl/events{/privacy}","received_events_url":"https://api.github.com/users/jshawl/received_events","type":"User","site_admin":false},"body":"http://stackoverflow.com/questions/1693243/instance-variable-self-vs `self.` is more reliable","created_at":"2016-06-19T21:25:12Z","updated_at":"2016-06-19T21:25:12Z","html_url":"https://github.com/ga-wdi-lessons/ruby-oop-inheritance/pull/3#discussion_r67624072","pull_request_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/pulls/comments/67624072"},"html":{"href":"https://github.com/ga-wdi-lessons/ruby-oop-inheritance/pull/3#discussion_r67624072"},"pull_request":{"href":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/pulls/3","id":74373289,"html_url":"https://github.com/ga-wdi-lessons/ruby-oop-inheritance/pull/3","diff_url":"https://github.com/ga-wdi-lessons/ruby-oop-inheritance/pull/3.diff","patch_url":"https://github.com/ga-wdi-lessons/ruby-oop-inheritance/pull/3.patch","issue_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/issues/3","number":3,"state":"open","locked":false,"title":"Wdi10 update","user":{"login":"amaseda","id":3519147,"avatar_url":"https://avatars.githubusercontent.com/u/3519147?v=3","gravatar_id":"","url":"https://api.github.com/users/amaseda","html_url":"https://github.com/amaseda","followers_url":"https://api.github.com/users/amaseda/followers","following_url":"https://api.github.com/users/amaseda/following{/other_user}","gists_url":"https://api.github.com/users/amaseda/gists{/gist_id}","starred_url":"https://api.github.com/users/amaseda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amaseda/subscriptions","organizations_url":"https://api.github.com/users/amaseda/orgs","repos_url":"https://api.github.com/users/amaseda/repos","events_url":"https://api.github.com/users/amaseda/events{/privacy}","received_events_url":"https://api.github.com/users/amaseda/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-19T20:33:27Z","updated_at":"2016-06-19T21:25:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0c78bbe02ba4ee4edd389daa123268d01d290ec9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/pulls/3/commits","review_comments_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/pulls/3/comments","review_comment_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/issues/3/comments","statuses_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/statuses/67c72ca1e0f7dc7c9aaaf09ce4147acaa4866148","head":{"label":"ga-wdi-lessons:wdi10-update","ref":"wdi10-update","sha":"67c72ca1e0f7dc7c9aaaf09ce4147acaa4866148","user":{"login":"ga-wdi-lessons","id":16711211,"avatar_url":"https://avatars.githubusercontent.com/u/16711211?v=3","gravatar_id":"","url":"https://api.github.com/users/ga-wdi-lessons","html_url":"https://github.com/ga-wdi-lessons","followers_url":"https://api.github.com/users/ga-wdi-lessons/followers","following_url":"https://api.github.com/users/ga-wdi-lessons/following{/other_user}","gists_url":"https://api.github.com/users/ga-wdi-lessons/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-wdi-lessons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-wdi-lessons/subscriptions","organizations_url":"https://api.github.com/users/ga-wdi-lessons/orgs","repos_url":"https://api.github.com/users/ga-wdi-lessons/repos","events_url":"https://api.github.com/users/ga-wdi-lessons/events{/privacy}","received_events_url":"https://api.github.com/users/ga-wdi-lessons/received_events","type":"Organization","site_admin":false},"repo":{"id":53070014,"name":"ruby-oop-inheritance","full_name":"ga-wdi-lessons/ruby-oop-inheritance","owner":{"login":"ga-wdi-lessons","id":16711211,"avatar_url":"https://avatars.githubusercontent.com/u/16711211?v=3","gravatar_id":"","url":"https://api.github.com/users/ga-wdi-lessons","html_url":"https://github.com/ga-wdi-lessons","followers_url":"https://api.github.com/users/ga-wdi-lessons/followers","following_url":"https://api.github.com/users/ga-wdi-lessons/following{/other_user}","gists_url":"https://api.github.com/users/ga-wdi-lessons/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-wdi-lessons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-wdi-lessons/subscriptions","organizations_url":"https://api.github.com/users/ga-wdi-lessons/orgs","repos_url":"https://api.github.com/users/ga-wdi-lessons/repos","events_url":"https://api.github.com/users/ga-wdi-lessons/events{/privacy}","received_events_url":"https://api.github.com/users/ga-wdi-lessons/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ga-wdi-lessons/ruby-oop-inheritance","description":"[ruby, oop]","fork":false,"url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance","forks_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/forks","keys_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/teams","hooks_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/hooks","issue_events_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/issues/events{/number}","events_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/events","assignees_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/assignees{/user}","branches_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/branches{/branch}","tags_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/tags","blobs_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/git/refs{/sha}","trees_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/statuses/{sha}","languages_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/languages","stargazers_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/stargazers","contributors_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/contributors","subscribers_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/subscribers","subscription_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/subscription","commits_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/commits{/sha}","git_commits_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/git/commits{/sha}","comments_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/comments{/number}","issue_comment_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/issues/comments{/number}","contents_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/contents/{+path}","compare_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/merges","archive_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/downloads","issues_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/issues{/number}","pulls_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/pulls{/number}","milestones_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/milestones{/number}","notifications_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/labels{/name}","releases_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/releases{/id}","deployments_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/deployments","created_at":"2016-03-03T17:35:31Z","updated_at":"2016-03-03T17:35:31Z","pushed_at":"2016-06-19T20:33:28Z","git_url":"git://github.com/ga-wdi-lessons/ruby-oop-inheritance.git","ssh_url":"git@github.com:ga-wdi-lessons/ruby-oop-inheritance.git","clone_url":"https://github.com/ga-wdi-lessons/ruby-oop-inheritance.git","svn_url":"https://github.com/ga-wdi-lessons/ruby-oop-inheritance","homepage":null,"size":15,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":2,"forks":4,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"ga-wdi-lessons:master","ref":"master","sha":"787cd140e5641d375268fac869d4375678a8c314","user":{"login":"ga-wdi-lessons","id":16711211,"avatar_url":"https://avatars.githubusercontent.com/u/16711211?v=3","gravatar_id":"","url":"https://api.github.com/users/ga-wdi-lessons","html_url":"https://github.com/ga-wdi-lessons","followers_url":"https://api.github.com/users/ga-wdi-lessons/followers","following_url":"https://api.github.com/users/ga-wdi-lessons/following{/other_user}","gists_url":"https://api.github.com/users/ga-wdi-lessons/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-wdi-lessons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-wdi-lessons/subscriptions","organizations_url":"https://api.github.com/users/ga-wdi-lessons/orgs","repos_url":"https://api.github.com/users/ga-wdi-lessons/repos","events_url":"https://api.github.com/users/ga-wdi-lessons/events{/privacy}","received_events_url":"https://api.github.com/users/ga-wdi-lessons/received_events","type":"Organization","site_admin":false},"repo":{"id":53070014,"name":"ruby-oop-inheritance","full_name":"ga-wdi-lessons/ruby-oop-inheritance","owner":{"login":"ga-wdi-lessons","id":16711211,"avatar_url":"https://avatars.githubusercontent.com/u/16711211?v=3","gravatar_id":"","url":"https://api.github.com/users/ga-wdi-lessons","html_url":"https://github.com/ga-wdi-lessons","followers_url":"https://api.github.com/users/ga-wdi-lessons/followers","following_url":"https://api.github.com/users/ga-wdi-lessons/following{/other_user}","gists_url":"https://api.github.com/users/ga-wdi-lessons/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-wdi-lessons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-wdi-lessons/subscriptions","organizations_url":"https://api.github.com/users/ga-wdi-lessons/orgs","repos_url":"https://api.github.com/users/ga-wdi-lessons/repos","events_url":"https://api.github.com/users/ga-wdi-lessons/events{/privacy}","received_events_url":"https://api.github.com/users/ga-wdi-lessons/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ga-wdi-lessons/ruby-oop-inheritance","description":"[ruby, oop]","fork":false,"url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance","forks_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/forks","keys_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/teams","hooks_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/hooks","issue_events_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/issues/events{/number}","events_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/events","assignees_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/assignees{/user}","branches_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/branches{/branch}","tags_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/tags","blobs_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/git/refs{/sha}","trees_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/statuses/{sha}","languages_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/languages","stargazers_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/stargazers","contributors_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/contributors","subscribers_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/subscribers","subscription_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/subscription","commits_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/commits{/sha}","git_commits_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/git/commits{/sha}","comments_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/comments{/number}","issue_comment_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/issues/comments{/number}","contents_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/contents/{+path}","compare_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/merges","archive_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/downloads","issues_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/issues{/number}","pulls_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/pulls{/number}","milestones_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/milestones{/number}","notifications_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/labels{/name}","releases_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/releases{/id}","deployments_url":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/deployments","created_at":"2016-03-03T17:35:31Z","updated_at":"2016-03-03T17:35:31Z","pushed_at":"2016-06-19T20:33:28Z","git_url":"git://github.com/ga-wdi-lessons/ruby-oop-inheritance.git","ssh_url":"git@github.com:ga-wdi-lessons/ruby-oop-inheritance.git","clone_url":"https://github.com/ga-wdi-lessons/ruby-oop-inheritance.git","svn_url":"https://github.com/ga-wdi-lessons/ruby-oop-inheritance","homepage":null,"size":15,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":2,"forks":4,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/pulls/3"},"html":{"href":"https://github.com/ga-wdi-lessons/ruby-oop-inheritance/pull/3"},"issue":{"href":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/issues/3"},"comments":{"href":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/ga-wdi-lessons/ruby-oop-inheritance/statuses/67c72ca1e0f7dc7c9aaaf09ce4147acaa4866148"}}}}
{"actor":{"display_login":"jshawl"}}