{"action":"created","issue":{"url":"https://api.github.com/repos/my-codeworks/fortnox-api/issues/27","repository_url":"https://api.github.com/repos/my-codeworks/fortnox-api","labels_url":"https://api.github.com/repos/my-codeworks/fortnox-api/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/my-codeworks/fortnox-api/issues/27/comments","events_url":"https://api.github.com/repos/my-codeworks/fortnox-api/issues/27/events","html_url":"https://github.com/my-codeworks/fortnox-api/issues/27","id":139298402,"number":27,"title":"Attribute validators not working","user":{"login":"ehannes","id":5365246,"avatar_url":"https://avatars.githubusercontent.com/u/5365246?v=3","gravatar_id":"","url":"https://api.github.com/users/ehannes","html_url":"https://github.com/ehannes","followers_url":"https://api.github.com/users/ehannes/followers","following_url":"https://api.github.com/users/ehannes/following{/other_user}","gists_url":"https://api.github.com/users/ehannes/gists{/gist_id}","starred_url":"https://api.github.com/users/ehannes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehannes/subscriptions","organizations_url":"https://api.github.com/users/ehannes/orgs","repos_url":"https://api.github.com/users/ehannes/repos","events_url":"https://api.github.com/users/ehannes/events{/privacy}","received_events_url":"https://api.github.com/users/ehannes/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/my-codeworks/fortnox-api/labels/PR%20open","name":"PR open","color":"fef2c0"}],"state":"closed","locked":false,"assignee":{"login":"d-Pixie","id":1247102,"avatar_url":"https://avatars.githubusercontent.com/u/1247102?v=3","gravatar_id":"","url":"https://api.github.com/users/d-Pixie","html_url":"https://github.com/d-Pixie","followers_url":"https://api.github.com/users/d-Pixie/followers","following_url":"https://api.github.com/users/d-Pixie/following{/other_user}","gists_url":"https://api.github.com/users/d-Pixie/gists{/gist_id}","starred_url":"https://api.github.com/users/d-Pixie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d-Pixie/subscriptions","organizations_url":"https://api.github.com/users/d-Pixie/orgs","repos_url":"https://api.github.com/users/d-Pixie/repos","events_url":"https://api.github.com/users/d-Pixie/events{/privacy}","received_events_url":"https://api.github.com/users/d-Pixie/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2016-03-08T14:57:06Z","updated_at":"2016-03-15T14:25:06Z","closed_at":"2016-03-15T14:25:06Z","body":"Attribute validators are not working as intended. Validations included form an attribute module is overwritten by the validations added in the validator including the module.\r\n\r\nFor instance, adding the following to `validators/attributes/country_code_spec.rb` will make the test fail:\r\n\r\n```\r\nclass TestValidator\r\n  extend Fortnox::API::Validator::Base\r\n  include Fortnox::API::Validator::Attribute::CountryCode\r\n\r\n  using_validations do\r\n  end\r\nend\r\n```"},"comment":{"url":"https://api.github.com/repos/my-codeworks/fortnox-api/issues/comments/196844178","html_url":"https://github.com/my-codeworks/fortnox-api/issues/27#issuecomment-196844178","issue_url":"https://api.github.com/repos/my-codeworks/fortnox-api/issues/27","id":196844178,"user":{"login":"ehannes","id":5365246,"avatar_url":"https://avatars.githubusercontent.com/u/5365246?v=3","gravatar_id":"","url":"https://api.github.com/users/ehannes","html_url":"https://github.com/ehannes","followers_url":"https://api.github.com/users/ehannes/followers","following_url":"https://api.github.com/users/ehannes/following{/other_user}","gists_url":"https://api.github.com/users/ehannes/gists{/gist_id}","starred_url":"https://api.github.com/users/ehannes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehannes/subscriptions","organizations_url":"https://api.github.com/users/ehannes/orgs","repos_url":"https://api.github.com/users/ehannes/repos","events_url":"https://api.github.com/users/ehannes/events{/privacy}","received_events_url":"https://api.github.com/users/ehannes/received_events","type":"User","site_admin":false},"created_at":"2016-03-15T14:25:06Z","updated_at":"2016-03-15T14:25:06Z","body":"Fixed in #23"}}