{"action":"created","issue":{"url":"https://api.github.com/repos/Nexmo/ruby-nexmo/issues/46","repository_url":"https://api.github.com/repos/Nexmo/ruby-nexmo","labels_url":"https://api.github.com/repos/Nexmo/ruby-nexmo/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/Nexmo/ruby-nexmo/issues/46/comments","events_url":"https://api.github.com/repos/Nexmo/ruby-nexmo/issues/46/events","html_url":"https://github.com/Nexmo/ruby-nexmo/pull/46","id":141701624,"number":46,"title":"Add method to Number Insight Basic API Beta","user":{"login":"d0minikk","id":104813,"avatar_url":"https://avatars.githubusercontent.com/u/104813?v=3","gravatar_id":"","url":"https://api.github.com/users/d0minikk","html_url":"https://github.com/d0minikk","followers_url":"https://api.github.com/users/d0minikk/followers","following_url":"https://api.github.com/users/d0minikk/following{/other_user}","gists_url":"https://api.github.com/users/d0minikk/gists{/gist_id}","starred_url":"https://api.github.com/users/d0minikk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d0minikk/subscriptions","organizations_url":"https://api.github.com/users/d0minikk/orgs","repos_url":"https://api.github.com/users/d0minikk/repos","events_url":"https://api.github.com/users/d0minikk/events{/privacy}","received_events_url":"https://api.github.com/users/d0minikk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-17T20:42:20Z","updated_at":"2016-04-15T14:01:45Z","closed_at":"2016-04-15T13:49:45Z","pull_request":{"url":"https://api.github.com/repos/Nexmo/ruby-nexmo/pulls/46","html_url":"https://github.com/Nexmo/ruby-nexmo/pull/46","diff_url":"https://github.com/Nexmo/ruby-nexmo/pull/46.diff","patch_url":"https://github.com/Nexmo/ruby-nexmo/pull/46.patch"},"body":"There is nice new Number Insight Basic API :)\r\nhttps://docs.nexmo.com/api-ref/number-insight/basic\r\n\r\nExample response:\r\n```\r\n@client.number_format({number: '48886347301'})\r\n=> {\"status\"=>0, \"status_message\"=>\"Success\", \"request_id\"=>\"8fe17b66-9245-46a4-936d-836a04332fcf\", \"international_format_number\"=>\"48886347301\", \"national_format_number\"=>\"886 347 301\", \"country_code\"=>\"PL\", \"country_code_iso3\"=>\"POL\", \"country_name\"=>\"Poland\", \"country_prefix\"=>\"48\"}\r\n```"},"comment":{"url":"https://api.github.com/repos/Nexmo/ruby-nexmo/issues/comments/210474729","html_url":"https://github.com/Nexmo/ruby-nexmo/pull/46#issuecomment-210474729","issue_url":"https://api.github.com/repos/Nexmo/ruby-nexmo/issues/46","id":210474729,"user":{"login":"timcraft","id":896098,"avatar_url":"https://avatars.githubusercontent.com/u/896098?v=3","gravatar_id":"","url":"https://api.github.com/users/timcraft","html_url":"https://github.com/timcraft","followers_url":"https://api.github.com/users/timcraft/followers","following_url":"https://api.github.com/users/timcraft/following{/other_user}","gists_url":"https://api.github.com/users/timcraft/gists{/gist_id}","starred_url":"https://api.github.com/users/timcraft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timcraft/subscriptions","organizations_url":"https://api.github.com/users/timcraft/orgs","repos_url":"https://api.github.com/users/timcraft/repos","events_url":"https://api.github.com/users/timcraft/events{/privacy}","received_events_url":"https://api.github.com/users/timcraft/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T14:01:45Z","updated_at":"2016-04-15T14:01:45Z","body":"@d0minikk Merged, thanks! I've renamed to get_basic_number_insight for consistency and also added a get_number_insight method for the new \"Standard\" API."}}