# File lib/aws/sns/has_delivery_policy.rb, line 34 def delivery_policy= policy policy_json = case policy when nil then '' when String then policy else policy.to_json end update_delivery_policy(policy_json) end