{"action":"created","comment":{"url":"https://api.github.com/repos/sassafrastech/madeline_system/pulls/comments/83695230","pull_request_review_id":4520487,"id":83695230,"diff_hunk":"@@ -18,76 +25,202 @@ def initialize(breakeven)\n   # Returns a ruby hash like this:\n   # {\n   #   revenue: [\n-  #     { name: 'Product 1', quantity: 800, amount: 100, total: 80_000 },\n-  #     { name: 'Product 2', quantity: 300, amount: 120, total: 36_000 },\n-  #     { name: 'Product 3', quantity: 100, amount: 150, total: 15_000 },\n+  #     { name: 'Product 1', quantity: 800.0, amount: 100.0, total: 80_000.0, rampup: [\n+  #       { quantity: 200.0, total: 20_000.0 },\n+  #       { quantity: 400.0, total: 40_000.0 },\n+  #       { quantity: 600.0, total: 60_000.0 },\n+  #       { quantity: 800.0, total: 80_000.0 },\n+  #     ] },\n+  #     { name: 'Product 2', quantity: 300.0, amount: 120.0, total: 36_000.0, rampup: [\n+  #       { quantity: 75.0, total: 9_000.0 },\n+  #       { quantity: 150.0, total: 18_000.0 },\n+  #       { quantity: 225.0, total: 27_000.0 },\n+  #       { quantity: 300.0, total: 36_000.0 },\n+  #     ] },\n+  #     { name: 'Product 3', quantity: 100.0, amount: 150.0, total: 15_000.0, rampup: [\n+  #       { quantity: 25.0, total: 3_750.0 },\n+  #       { quantity: 50.0, total: 7_500.0 },\n+  #       { quantity: 75.0, total: 11_250.0 },\n+  #       { quantity: 100.0, total: 15_000.0 },\n+  #     ] },\n   #   ],\n   #   total_revenue: 131_000,\n+  #   total_revenue_rampup: [3_2750, 65_500, 98_250, 131_000],\n   #   cogs: [\n-  #     { name: 'Product 1', quantity: 800, amount: 50, total: 40_000 },\n-  #     { name: 'Product 2', quantity: 300, amount: 60, total: 18_000 },\n-  #     { name: 'Product 3', quantity: 100, amount: 70, total: 7_000 },\n+  #     { name: 'Product 1', quantity: 800.0, amount: 50.0, total: 40_000.0, rampup: [\n+  #       { quantity: 200.0, total: 10_000.0 },\n+  #       { quantity: 400.0, total: 20_000.0 },\n+  #       { quantity: 600.0, total: 30_000.0 },\n+  #       { quantity: 800.0, total: 40_000.0 },\n+  #     ] },\n+  #     { name: 'Product 2', quantity: 300.0, amount: 60.0, total: 18_000.0, rampup: [\n+  #       { quantity: 75.0, total: 4_500.0 },\n+  #       { quantity: 150.0, total: 9_000.0 },\n+  #       { quantity: 225.0, total: 13_500.0 },\n+  #       { quantity: 300.0, total: 18_000.0 },\n+  #     ] },\n+  #     { name: 'Product 3', quantity: 100.0, amount: 70.0, total: 7_000.0, rampup: [\n+  #       { quantity: 25.0, total: 1_750.0 },\n+  #       { quantity: 50.0, total: 3_500.0 },\n+  #       { quantity: 75.0, total: 5_250.0 },\n+  #       { quantity: 100.0, total: 7_000.0 },\n+  #     ] },\n   #   ],\n   #   total_cogs: 65_000,\n+  #   total_cogs_rampup: [16_250, 32_500, 48_750, 65_000],\n   #   gross_margin: 66_000,\n+  #   gross_margin_rampup: [16_500, 33_000, 49_500, 66_000],\n   #   fixed_costs: [\n-  #     { name: \"Rent\", amount: 15_000 },\n-  #     { name: \"Worker owners\", amount: 28_000 },\n-  #     { name: \"Employees\", amount: 10_000 },\n-  #     { name: \"Sales\", amount: 10_000 },\n-  #     { name: \"Utilities\", amount: 2_000 },\n-  #     { name: \"Insurance\", amount: 1_000 },\n+  #     { name: 'Rent', amount: 15_000.0 },\n+  #     { name: 'Worker owners', amount: 28_000.0 },\n+  #     { name: 'Employees', amount: 10_000.0 },\n+  #     { name: 'Sales', amount: 10_000 },\n+  #     { name: 'Utilities', amount: 2_000.0 },\n+  #     { name: 'Insurance', amount: 1_000.0 },\n   #   ],\n   #   total_fixed_costs: 66_000,\n+  #   total_fixed_costs_rampup: [66_000, 66_000, 66_000, 66_000],\n   #   net_margin: 0,\n+  #   net_margin_rampup: [-49_500, -33_000, -16_500, 0],\n+  #   periods: 4,\n+  #   units: 'Months'\n   # }\n   def report\n     return if blank?\n \n     report = {\n-      revenue: [],\n-      total_revenue: 0,\n-      cogs: [],\n-      total_cogs: 0,\n-      gross_margin: 0,\n-      fixed_costs: [],\n-      total_fixed_costs: 0,\n-      net_margin: 0,\n+      revenue: revenue,\n+      total_revenue: total_revenue,\n+      cogs: cogs,\n+      total_cogs: total_cogs,\n+      gross_margin: gross_margin,\n+      fixed_costs: fixed_costs,\n+      total_fixed_costs: total_fixed_costs,\n+      net_margin: net_margin,\n+      periods: periods,\n+      units: units,\n     }\n \n-    @breakeven['products'].each do |product|\n-      %w(quantity price cost).each { |key| product[key] = product[key].to_f }\n-      report[:revenue] << {\n-        name: product['name'],\n-        quantity: product['quantity'],\n-        amount: product['price'],\n-        total: product['price'] * product['quantity'],\n-      }\n-      report[:cogs] << {\n-        name: product['name'],\n-        quantity: product['quantity'],\n-        amount: product['cost'],\n-        total: product['cost'] * product['quantity'],\n-      }\n-    end\n-    report[:total_revenue] = report[:revenue].map { |i| i[:total] }.sum\n-    report[:total_cogs] = report[:cogs].map { |i| i[:total] }.sum\n-    report[:gross_margin] = report[:total_revenue] - report[:total_cogs]\n-    @breakeven['fixed_costs'].each do |cost|\n-      report[:fixed_costs] << { name: cost['name'], amount: cost['amount'].to_f }\n-    end\n-    report[:total_fixed_costs] = report[:fixed_costs].map { |i| i[:amount] }.sum\n-    report[:net_margin] = report[:gross_margin] - report[:total_fixed_costs]\n+    rampup = {\n+      total_revenue_rampup: total_revenue_rampup,\n+      total_cogs_rampup: total_cogs_rampup,\n+      gross_margin_rampup: gross_margin_rampup,\n+      total_fixed_costs_rampup: total_fixed_costs_rampup,\n+      net_margin_rampup: net_margin_rampup,\n+    }\n \n-    report\n+    return report unless periods > 1\n+    report.merge(rampup)\n   end\n \n   def blank?\n     return true if @breakeven.blank?\n-    @breakeven['products'].blank? && @breakeven['fixed_costs'].blank?\n+    data_hash[:products].blank? && data_hash[:fixed_costs].blank?\n+  end\n+\n+  def revenue\n+    @revenue ||= data_hash[:products].map do |product|\n+      [:quantity, :price, :cost].map { |key| product[key] = product[key].to_f }\n+        {\n+          name: product[:name],\n+          quantity: product[:quantity],\n+          amount: product[:price],\n+          total: product[:price] * product[:quantity],\n+        }.merge( rampup(product[:quantity], product[:price]) )\n+    end\n+  end\n+\n+  def total_revenue\n+    @total_revenue ||= revenue.map { |i| i[:total] }.sum\n+  end\n+\n+  def total_revenue_rampup\n+    @total_revenue_rampup ||= (1..periods).map do |period|\n+      (total_revenue/periods) * period\n+    end\n+  end\n+\n+  def cogs\n+    @cogs ||= data_hash[:products].map do |product|\n+      [:quantity, :price, :cost].map { |key| product[key] = product[key].to_f }\n+        {","path":"app/models/breakeven_table_question.rb","position":196,"original_position":196,"commit_id":"3af67fa53f1cec163495cb98b513663fc5bd3cad","original_commit_id":"3af67fa53f1cec163495cb98b513663fc5bd3cad","user":{"login":"hooverlunch","id":702320,"avatar_url":"https://avatars.githubusercontent.com/u/702320?v=3","gravatar_id":"","url":"https://api.github.com/users/hooverlunch","html_url":"https://github.com/hooverlunch","followers_url":"https://api.github.com/users/hooverlunch/followers","following_url":"https://api.github.com/users/hooverlunch/following{/other_user}","gists_url":"https://api.github.com/users/hooverlunch/gists{/gist_id}","starred_url":"https://api.github.com/users/hooverlunch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hooverlunch/subscriptions","organizations_url":"https://api.github.com/users/hooverlunch/orgs","repos_url":"https://api.github.com/users/hooverlunch/repos","events_url":"https://api.github.com/users/hooverlunch/events{/privacy}","received_events_url":"https://api.github.com/users/hooverlunch/received_events","type":"User","site_admin":false},"body":"Same here as in revenue. Why map? Indent?","created_at":"2016-10-17T17:40:29Z","updated_at":"2016-10-17T17:40:29Z","html_url":"https://github.com/sassafrastech/madeline_system/pull/159#discussion_r83695230","pull_request_url":"https://api.github.com/repos/sassafrastech/madeline_system/pulls/159","_links":{"self":{"href":"https://api.github.com/repos/sassafrastech/madeline_system/pulls/comments/83695230"},"html":{"href":"https://github.com/sassafrastech/madeline_system/pull/159#discussion_r83695230"},"pull_request":{"href":"https://api.github.com/repos/sassafrastech/madeline_system/pulls/159"}}},"pull_request":{"url":"https://api.github.com/repos/sassafrastech/madeline_system/pulls/159","id":88766896,"html_url":"https://github.com/sassafrastech/madeline_system/pull/159","diff_url":"https://github.com/sassafrastech/madeline_system/pull/159.diff","patch_url":"https://github.com/sassafrastech/madeline_system/pull/159.patch","issue_url":"https://api.github.com/repos/sassafrastech/madeline_system/issues/159","number":159,"state":"open","locked":false,"title":"5135 breakeven rampup","user":{"login":"X0nic","id":59398,"avatar_url":"https://avatars.githubusercontent.com/u/59398?v=3","gravatar_id":"","url":"https://api.github.com/users/X0nic","html_url":"https://github.com/X0nic","followers_url":"https://api.github.com/users/X0nic/followers","following_url":"https://api.github.com/users/X0nic/following{/other_user}","gists_url":"https://api.github.com/users/X0nic/gists{/gist_id}","starred_url":"https://api.github.com/users/X0nic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/X0nic/subscriptions","organizations_url":"https://api.github.com/users/X0nic/orgs","repos_url":"https://api.github.com/users/X0nic/repos","events_url":"https://api.github.com/users/X0nic/events{/privacy}","received_events_url":"https://api.github.com/users/X0nic/received_events","type":"User","site_admin":false},"body":"##  Expects JSON/JSON-like input like this\r\n\r\n```ruby\r\n  {\r\n    'products': [\r\n      { 'name': 'Product 1', 'description': 'Description', 'unit': 'Widgets', 'price': 100, 'cost': 50, 'quantity': 800 },\r\n      { 'name': 'Product 2', 'description': 'Description', 'unit': 'Stamp books', 'price': 120, 'cost': 60, 'quantity': 300 },\r\n      { 'name': 'Product 3', 'description': 'Description', 'unit': 'Flin Flons', 'price': 150, 'cost': 70, 'quantity': 100 },\r\n    ],\r\n    'fixed_costs': [\r\n      { 'name': 'Rent', 'amount': 1_5000 },\r\n      { 'name': 'Worker owners', 'amount': 28_000.0 },\r\n      { 'name': 'Employees', 'amount': 10_000.0 },\r\n      { 'name': 'Sales', 'amount': 10_000 },\r\n      { 'name': 'Utilities', 'amount': 2_000.0 },\r\n      { 'name': 'Insurance', 'amount': 1_000.0 },\r\n    ],\r\n    'periods': 4,\r\n    'units': 'Months',\r\n  }\r\n```\r\n\r\n\r\n##  Returns a ruby hash like this\r\n\r\n```ruby\r\n  {\r\n    revenue: [\r\n      { name: 'Product 1', quantity: 800.0, amount: 100.0, total: 80_000.0, rampup: [\r\n        { quantity: 200.0, total: 20_000.0 },\r\n        { quantity: 400.0, total: 40_000.0 },\r\n        { quantity: 600.0, total: 60_000.0 },\r\n        { quantity: 800.0, total: 80_000.0 },\r\n      ] },\r\n      { name: 'Product 2', quantity: 300.0, amount: 120.0, total: 36_000.0, rampup: [\r\n        { quantity: 75.0, total: 9_000.0 },\r\n        { quantity: 150.0, total: 18_000.0 },\r\n        { quantity: 225.0, total: 27_000.0 },\r\n        { quantity: 300.0, total: 36_000.0 },\r\n      ] },\r\n      { name: 'Product 3', quantity: 100.0, amount: 150.0, total: 15_000.0, rampup: [\r\n        { quantity: 25.0, total: 3_750.0 },\r\n        { quantity: 50.0, total: 7_500.0 },\r\n        { quantity: 75.0, total: 11_250.0 },\r\n        { quantity: 100.0, total: 15_000.0 },\r\n      ] },\r\n    ],\r\n    total_revenue: 131_000,\r\n    total_revenue_rampup: [3_2750, 65_500, 98_250, 131_000],\r\n    cogs: [\r\n      { name: 'Product 1', quantity: 800.0, amount: 50.0, total: 40_000.0, rampup: [\r\n        { quantity: 200.0, total: 10_000.0 },\r\n        { quantity: 400.0, total: 20_000.0 },\r\n        { quantity: 600.0, total: 30_000.0 },\r\n        { quantity: 800.0, total: 40_000.0 },\r\n      ] },\r\n      { name: 'Product 2', quantity: 300.0, amount: 60.0, total: 18_000.0, rampup: [\r\n        { quantity: 75.0, total: 4_500.0 },\r\n        { quantity: 150.0, total: 9_000.0 },\r\n        { quantity: 225.0, total: 13_500.0 },\r\n        { quantity: 300.0, total: 18_000.0 },\r\n      ] },\r\n      { name: 'Product 3', quantity: 100.0, amount: 70.0, total: 7_000.0, rampup: [\r\n        { quantity: 25.0, total: 1_750.0 },\r\n        { quantity: 50.0, total: 3_500.0 },\r\n        { quantity: 75.0, total: 5_250.0 },\r\n        { quantity: 100.0, total: 7_000.0 },\r\n      ] },\r\n    ],\r\n    total_cogs: 65_000,\r\n    total_cogs_rampup: [16_250, 32_500, 48_750, 65_000],\r\n    gross_margin: 66_000,\r\n    gross_margin_rampup: [16_500, 33_000, 49_500, 66_000],\r\n    fixed_costs: [\r\n      { name: 'Rent', amount: 15_000.0 },\r\n      { name: 'Worker owners', amount: 28_000.0 },\r\n      { name: 'Employees', amount: 10_000.0 },\r\n      { name: 'Sales', amount: 10_000 },\r\n      { name: 'Utilities', amount: 2_000.0 },\r\n      { name: 'Insurance', amount: 1_000.0 },\r\n    ],\r\n    total_fixed_costs: 66_000,\r\n    total_fixed_costs_rampup: [66_000, 66_000, 66_000, 66_000],\r\n    net_margin: 0,\r\n    net_margin_rampup: [-49_500, -33_000, -16_500, 0],\r\n    periods: 4,\r\n    units: 'Months'\r\n  }\r\n```","created_at":"2016-10-11T03:46:51Z","updated_at":"2016-10-17T17:49:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"da94188d71e0e731f8c2718e51d84b919b1f17f9","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sassafrastech/madeline_system/pulls/159/commits","review_comments_url":"https://api.github.com/repos/sassafrastech/madeline_system/pulls/159/comments","review_comment_url":"https://api.github.com/repos/sassafrastech/madeline_system/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sassafrastech/madeline_system/issues/159/comments","statuses_url":"https://api.github.com/repos/sassafrastech/madeline_system/statuses/3af67fa53f1cec163495cb98b513663fc5bd3cad","head":{"label":"sassafrastech:5135_breakeven_rampup","ref":"5135_breakeven_rampup","sha":"3af67fa53f1cec163495cb98b513663fc5bd3cad","user":{"login":"sassafrastech","id":5033102,"avatar_url":"https://avatars.githubusercontent.com/u/5033102?v=3","gravatar_id":"","url":"https://api.github.com/users/sassafrastech","html_url":"https://github.com/sassafrastech","followers_url":"https://api.github.com/users/sassafrastech/followers","following_url":"https://api.github.com/users/sassafrastech/following{/other_user}","gists_url":"https://api.github.com/users/sassafrastech/gists{/gist_id}","starred_url":"https://api.github.com/users/sassafrastech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sassafrastech/subscriptions","organizations_url":"https://api.github.com/users/sassafrastech/orgs","repos_url":"https://api.github.com/users/sassafrastech/repos","events_url":"https://api.github.com/users/sassafrastech/events{/privacy}","received_events_url":"https://api.github.com/users/sassafrastech/received_events","type":"Organization","site_admin":false},"repo":{"id":48768255,"name":"madeline_system","full_name":"sassafrastech/madeline_system","owner":{"login":"sassafrastech","id":5033102,"avatar_url":"https://avatars.githubusercontent.com/u/5033102?v=3","gravatar_id":"","url":"https://api.github.com/users/sassafrastech","html_url":"https://github.com/sassafrastech","followers_url":"https://api.github.com/users/sassafrastech/followers","following_url":"https://api.github.com/users/sassafrastech/following{/other_user}","gists_url":"https://api.github.com/users/sassafrastech/gists{/gist_id}","starred_url":"https://api.github.com/users/sassafrastech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sassafrastech/subscriptions","organizations_url":"https://api.github.com/users/sassafrastech/orgs","repos_url":"https://api.github.com/users/sassafrastech/repos","events_url":"https://api.github.com/users/sassafrastech/events{/privacy}","received_events_url":"https://api.github.com/users/sassafrastech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sassafrastech/madeline_system","description":null,"fork":false,"url":"https://api.github.com/repos/sassafrastech/madeline_system","forks_url":"https://api.github.com/repos/sassafrastech/madeline_system/forks","keys_url":"https://api.github.com/repos/sassafrastech/madeline_system/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sassafrastech/madeline_system/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sassafrastech/madeline_system/teams","hooks_url":"https://api.github.com/repos/sassafrastech/madeline_system/hooks","issue_events_url":"https://api.github.com/repos/sassafrastech/madeline_system/issues/events{/number}","events_url":"https://api.github.com/repos/sassafrastech/madeline_system/events","assignees_url":"https://api.github.com/repos/sassafrastech/madeline_system/assignees{/user}","branches_url":"https://api.github.com/repos/sassafrastech/madeline_system/branches{/branch}","tags_url":"https://api.github.com/repos/sassafrastech/madeline_system/tags","blobs_url":"https://api.github.com/repos/sassafrastech/madeline_system/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sassafrastech/madeline_system/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sassafrastech/madeline_system/git/refs{/sha}","trees_url":"https://api.github.com/repos/sassafrastech/madeline_system/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sassafrastech/madeline_system/statuses/{sha}","languages_url":"https://api.github.com/repos/sassafrastech/madeline_system/languages","stargazers_url":"https://api.github.com/repos/sassafrastech/madeline_system/stargazers","contributors_url":"https://api.github.com/repos/sassafrastech/madeline_system/contributors","subscribers_url":"https://api.github.com/repos/sassafrastech/madeline_system/subscribers","subscription_url":"https://api.github.com/repos/sassafrastech/madeline_system/subscription","commits_url":"https://api.github.com/repos/sassafrastech/madeline_system/commits{/sha}","git_commits_url":"https://api.github.com/repos/sassafrastech/madeline_system/git/commits{/sha}","comments_url":"https://api.github.com/repos/sassafrastech/madeline_system/comments{/number}","issue_comment_url":"https://api.github.com/repos/sassafrastech/madeline_system/issues/comments{/number}","contents_url":"https://api.github.com/repos/sassafrastech/madeline_system/contents/{+path}","compare_url":"https://api.github.com/repos/sassafrastech/madeline_system/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sassafrastech/madeline_system/merges","archive_url":"https://api.github.com/repos/sassafrastech/madeline_system/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sassafrastech/madeline_system/downloads","issues_url":"https://api.github.com/repos/sassafrastech/madeline_system/issues{/number}","pulls_url":"https://api.github.com/repos/sassafrastech/madeline_system/pulls{/number}","milestones_url":"https://api.github.com/repos/sassafrastech/madeline_system/milestones{/number}","notifications_url":"https://api.github.com/repos/sassafrastech/madeline_system/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sassafrastech/madeline_system/labels{/name}","releases_url":"https://api.github.com/repos/sassafrastech/madeline_system/releases{/id}","deployments_url":"https://api.github.com/repos/sassafrastech/madeline_system/deployments","created_at":"2015-12-29T21:38:53Z","updated_at":"2016-07-19T13:30:09Z","pushed_at":"2016-10-14T21:21:05Z","git_url":"git://github.com/sassafrastech/madeline_system.git","ssh_url":"git@github.com:sassafrastech/madeline_system.git","clone_url":"https://github.com/sassafrastech/madeline_system.git","svn_url":"https://github.com/sassafrastech/madeline_system","homepage":null,"size":4148,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":3,"default_branch":"develop"}},"base":{"label":"sassafrastech:develop","ref":"develop","sha":"8ae5cacb69af17fd9c182539afc0ed358d5b3594","user":{"login":"sassafrastech","id":5033102,"avatar_url":"https://avatars.githubusercontent.com/u/5033102?v=3","gravatar_id":"","url":"https://api.github.com/users/sassafrastech","html_url":"https://github.com/sassafrastech","followers_url":"https://api.github.com/users/sassafrastech/followers","following_url":"https://api.github.com/users/sassafrastech/following{/other_user}","gists_url":"https://api.github.com/users/sassafrastech/gists{/gist_id}","starred_url":"https://api.github.com/users/sassafrastech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sassafrastech/subscriptions","organizations_url":"https://api.github.com/users/sassafrastech/orgs","repos_url":"https://api.github.com/users/sassafrastech/repos","events_url":"https://api.github.com/users/sassafrastech/events{/privacy}","received_events_url":"https://api.github.com/users/sassafrastech/received_events","type":"Organization","site_admin":false},"repo":{"id":48768255,"name":"madeline_system","full_name":"sassafrastech/madeline_system","owner":{"login":"sassafrastech","id":5033102,"avatar_url":"https://avatars.githubusercontent.com/u/5033102?v=3","gravatar_id":"","url":"https://api.github.com/users/sassafrastech","html_url":"https://github.com/sassafrastech","followers_url":"https://api.github.com/users/sassafrastech/followers","following_url":"https://api.github.com/users/sassafrastech/following{/other_user}","gists_url":"https://api.github.com/users/sassafrastech/gists{/gist_id}","starred_url":"https://api.github.com/users/sassafrastech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sassafrastech/subscriptions","organizations_url":"https://api.github.com/users/sassafrastech/orgs","repos_url":"https://api.github.com/users/sassafrastech/repos","events_url":"https://api.github.com/users/sassafrastech/events{/privacy}","received_events_url":"https://api.github.com/users/sassafrastech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sassafrastech/madeline_system","description":null,"fork":false,"url":"https://api.github.com/repos/sassafrastech/madeline_system","forks_url":"https://api.github.com/repos/sassafrastech/madeline_system/forks","keys_url":"https://api.github.com/repos/sassafrastech/madeline_system/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sassafrastech/madeline_system/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sassafrastech/madeline_system/teams","hooks_url":"https://api.github.com/repos/sassafrastech/madeline_system/hooks","issue_events_url":"https://api.github.com/repos/sassafrastech/madeline_system/issues/events{/number}","events_url":"https://api.github.com/repos/sassafrastech/madeline_system/events","assignees_url":"https://api.github.com/repos/sassafrastech/madeline_system/assignees{/user}","branches_url":"https://api.github.com/repos/sassafrastech/madeline_system/branches{/branch}","tags_url":"https://api.github.com/repos/sassafrastech/madeline_system/tags","blobs_url":"https://api.github.com/repos/sassafrastech/madeline_system/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sassafrastech/madeline_system/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sassafrastech/madeline_system/git/refs{/sha}","trees_url":"https://api.github.com/repos/sassafrastech/madeline_system/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sassafrastech/madeline_system/statuses/{sha}","languages_url":"https://api.github.com/repos/sassafrastech/madeline_system/languages","stargazers_url":"https://api.github.com/repos/sassafrastech/madeline_system/stargazers","contributors_url":"https://api.github.com/repos/sassafrastech/madeline_system/contributors","subscribers_url":"https://api.github.com/repos/sassafrastech/madeline_system/subscribers","subscription_url":"https://api.github.com/repos/sassafrastech/madeline_system/subscription","commits_url":"https://api.github.com/repos/sassafrastech/madeline_system/commits{/sha}","git_commits_url":"https://api.github.com/repos/sassafrastech/madeline_system/git/commits{/sha}","comments_url":"https://api.github.com/repos/sassafrastech/madeline_system/comments{/number}","issue_comment_url":"https://api.github.com/repos/sassafrastech/madeline_system/issues/comments{/number}","contents_url":"https://api.github.com/repos/sassafrastech/madeline_system/contents/{+path}","compare_url":"https://api.github.com/repos/sassafrastech/madeline_system/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sassafrastech/madeline_system/merges","archive_url":"https://api.github.com/repos/sassafrastech/madeline_system/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sassafrastech/madeline_system/downloads","issues_url":"https://api.github.com/repos/sassafrastech/madeline_system/issues{/number}","pulls_url":"https://api.github.com/repos/sassafrastech/madeline_system/pulls{/number}","milestones_url":"https://api.github.com/repos/sassafrastech/madeline_system/milestones{/number}","notifications_url":"https://api.github.com/repos/sassafrastech/madeline_system/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sassafrastech/madeline_system/labels{/name}","releases_url":"https://api.github.com/repos/sassafrastech/madeline_system/releases{/id}","deployments_url":"https://api.github.com/repos/sassafrastech/madeline_system/deployments","created_at":"2015-12-29T21:38:53Z","updated_at":"2016-07-19T13:30:09Z","pushed_at":"2016-10-14T21:21:05Z","git_url":"git://github.com/sassafrastech/madeline_system.git","ssh_url":"git@github.com:sassafrastech/madeline_system.git","clone_url":"https://github.com/sassafrastech/madeline_system.git","svn_url":"https://github.com/sassafrastech/madeline_system","homepage":null,"size":4148,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":3,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/sassafrastech/madeline_system/pulls/159"},"html":{"href":"https://github.com/sassafrastech/madeline_system/pull/159"},"issue":{"href":"https://api.github.com/repos/sassafrastech/madeline_system/issues/159"},"comments":{"href":"https://api.github.com/repos/sassafrastech/madeline_system/issues/159/comments"},"review_comments":{"href":"https://api.github.com/repos/sassafrastech/madeline_system/pulls/159/comments"},"review_comment":{"href":"https://api.github.com/repos/sassafrastech/madeline_system/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sassafrastech/madeline_system/pulls/159/commits"},"statuses":{"href":"https://api.github.com/repos/sassafrastech/madeline_system/statuses/3af67fa53f1cec163495cb98b513663fc5bd3cad"}}}}
{"actor":{"display_login":"hooverlunch"}}