{"action":"created","issue":{"url":"https://api.github.com/repos/fastly/fastly-ruby/issues/51","labels_url":"https://api.github.com/repos/fastly/fastly-ruby/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/fastly/fastly-ruby/issues/51/comments","events_url":"https://api.github.com/repos/fastly/fastly-ruby/issues/51/events","html_url":"https://github.com/fastly/fastly-ruby/pull/51","id":76814238,"number":51,"title":"Improve examples of purging","user":{"login":"drbrain","id":9831,"avatar_url":"https://avatars.githubusercontent.com/u/9831?v=3","gravatar_id":"","url":"https://api.github.com/users/drbrain","html_url":"https://github.com/drbrain","followers_url":"https://api.github.com/users/drbrain/followers","following_url":"https://api.github.com/users/drbrain/following{/other_user}","gists_url":"https://api.github.com/users/drbrain/gists{/gist_id}","starred_url":"https://api.github.com/users/drbrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drbrain/subscriptions","organizations_url":"https://api.github.com/users/drbrain/orgs","repos_url":"https://api.github.com/users/drbrain/repos","events_url":"https://api.github.com/users/drbrain/events{/privacy}","received_events_url":"https://api.github.com/users/drbrain/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-15T18:30:43Z","updated_at":"2015-05-15T18:38:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/fastly/fastly-ruby/pulls/51","html_url":"https://github.com/fastly/fastly-ruby/pull/51","diff_url":"https://github.com/fastly/fastly-ruby/pull/51.diff","patch_url":"https://github.com/fastly/fastly-ruby/pull/51.patch"},"body":"This addresses #50 through improved documentation.\r\n\r\nWe didn't have this documented at all, so customers would not be aware of the possible performance impact.  We also add pointers to the Fastly API documentation for further reading."},"comment":{"url":"https://api.github.com/repos/fastly/fastly-ruby/issues/comments/102488023","html_url":"https://github.com/fastly/fastly-ruby/pull/51#issuecomment-102488023","issue_url":"https://api.github.com/repos/fastly/fastly-ruby/issues/51","id":102488023,"user":{"login":"kigster","id":259982,"avatar_url":"https://avatars.githubusercontent.com/u/259982?v=3","gravatar_id":"","url":"https://api.github.com/users/kigster","html_url":"https://github.com/kigster","followers_url":"https://api.github.com/users/kigster/followers","following_url":"https://api.github.com/users/kigster/following{/other_user}","gists_url":"https://api.github.com/users/kigster/gists{/gist_id}","starred_url":"https://api.github.com/users/kigster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kigster/subscriptions","organizations_url":"https://api.github.com/users/kigster/orgs","repos_url":"https://api.github.com/users/kigster/repos","events_url":"https://api.github.com/users/kigster/events{/privacy}","received_events_url":"https://api.github.com/users/kigster/received_events","type":"User","site_admin":false},"created_at":"2015-05-15T18:38:45Z","updated_at":"2015-05-15T18:38:45Z","body":"This looks great – except it does not say a word about multi-threading. \r\n\r\nIs reusing service object in a ruby-process (as a singleton) provides thread-safe API access? We use the gem primarily in highly concurrent background jobs with a thread count up to 40. It would be great if the gem explicitly declare whether or not it is thread safe, especially when used this way.\r\n\r\nI wish there was a service that would automatically check our code for multi-threaded bugs and give you a badge if the gem passes :) "}}