{"action":"closed","issue":{"url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/828","repository_url":"https://api.github.com/repos/rails-api/active_model_serializers","labels_url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/828/labels{/name}","comments_url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/828/comments","events_url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/828/events","html_url":"https://github.com/rails-api/active_model_serializers/issues/828","id":60068653,"number":828,"title":"Can't set default_serializer_options","user":{"login":"RickCarlino","id":1388608,"avatar_url":"https://avatars.githubusercontent.com/u/1388608?v=3","gravatar_id":"","url":"https://api.github.com/users/RickCarlino","html_url":"https://github.com/RickCarlino","followers_url":"https://api.github.com/users/RickCarlino/followers","following_url":"https://api.github.com/users/RickCarlino/following{/other_user}","gists_url":"https://api.github.com/users/RickCarlino/gists{/gist_id}","starred_url":"https://api.github.com/users/RickCarlino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RickCarlino/subscriptions","organizations_url":"https://api.github.com/users/RickCarlino/orgs","repos_url":"https://api.github.com/users/RickCarlino/repos","events_url":"https://api.github.com/users/RickCarlino/events{/privacy}","received_events_url":"https://api.github.com/users/RickCarlino/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rails-api/active_model_serializers/labels/V:%200.9.x","name":"V: 0.9.x","color":"bfdadc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-06T07:26:28Z","updated_at":"2016-03-17T17:16:27Z","closed_at":"2016-03-17T17:16:27Z","body":"```ruby\r\nclass Controller < Api::AbstractController\r\n    def index\r\n    end\r\n  private\r\n    def default_serializer_options\r\n     {abc: 123}\r\n    end\r\nend\r\n```\r\nIn my serializer...\r\n```ruby\r\nclass MySerializer < ActiveModel::Serializer\r\n  attributes :whatever\r\n\r\n  def whatever\r\n    serialization_options[:abc] # => nil, expected 123\r\n  end\r\nend\r\n```\r\nUsing AMS version 0.9.3\r\n"}}