{"action":"created","issue":{"url":"https://api.github.com/repos/spree-contrib/spree_volume_pricing/issues/73","labels_url":"https://api.github.com/repos/spree-contrib/spree_volume_pricing/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/spree-contrib/spree_volume_pricing/issues/73/comments","events_url":"https://api.github.com/repos/spree-contrib/spree_volume_pricing/issues/73/events","html_url":"https://github.com/spree-contrib/spree_volume_pricing/pull/73","id":67442426,"number":73,"title":"3.0 stable & Price Model Abstraction","user":{"login":"jspizziri","id":1452066,"avatar_url":"https://avatars.githubusercontent.com/u/1452066?v=3","gravatar_id":"","url":"https://api.github.com/users/jspizziri","html_url":"https://github.com/jspizziri","followers_url":"https://api.github.com/users/jspizziri/followers","following_url":"https://api.github.com/users/jspizziri/following{/other_user}","gists_url":"https://api.github.com/users/jspizziri/gists{/gist_id}","starred_url":"https://api.github.com/users/jspizziri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jspizziri/subscriptions","organizations_url":"https://api.github.com/users/jspizziri/orgs","repos_url":"https://api.github.com/users/jspizziri/repos","events_url":"https://api.github.com/users/jspizziri/events{/privacy}","received_events_url":"https://api.github.com/users/jspizziri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-09T20:18:03Z","updated_at":"2015-04-22T12:25:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/spree-contrib/spree_volume_pricing/pulls/73","html_url":"https://github.com/spree-contrib/spree_volume_pricing/pull/73","diff_url":"https://github.com/spree-contrib/spree_volume_pricing/pull/73.diff","patch_url":"https://github.com/spree-contrib/spree_volume_pricing/pull/73.patch"},"body":"I've upgraded the gem to 3.0 stable.\r\n\r\nAlso, I've taken the liberty to do a bit of data model abstraction, I created a `VolumePriceModel` which is associated with a role and a set of `VolumePrices`.\r\n\r\nThe point is to allow for several pricing models per variant and associate them with a role so that different pricing models can be applied for different roles i.e. wholesale vs. retail. This is described in more detail here: https://github.com/spree-contrib/spree_volume_pricing/issues/72\r\n\r\nThe specs aren't passing right now because of the data model refactor. Eventually I'll be able to get to those, assuming merging this in is desired."},"comment":{"url":"https://api.github.com/repos/spree-contrib/spree_volume_pricing/issues/comments/95156536","html_url":"https://github.com/spree-contrib/spree_volume_pricing/pull/73#issuecomment-95156536","issue_url":"https://api.github.com/repos/spree-contrib/spree_volume_pricing/issues/73","id":95156536,"user":{"login":"juancroca","id":389764,"avatar_url":"https://avatars.githubusercontent.com/u/389764?v=3","gravatar_id":"","url":"https://api.github.com/users/juancroca","html_url":"https://github.com/juancroca","followers_url":"https://api.github.com/users/juancroca/followers","following_url":"https://api.github.com/users/juancroca/following{/other_user}","gists_url":"https://api.github.com/users/juancroca/gists{/gist_id}","starred_url":"https://api.github.com/users/juancroca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juancroca/subscriptions","organizations_url":"https://api.github.com/users/juancroca/orgs","repos_url":"https://api.github.com/users/juancroca/repos","events_url":"https://api.github.com/users/juancroca/events{/privacy}","received_events_url":"https://api.github.com/users/juancroca/received_events","type":"User","site_admin":false},"created_at":"2015-04-22T12:25:17Z","updated_at":"2015-04-22T12:25:17Z","body":"Is there any update on this I would really appreciate is this was live"}}