# File lib/aws/record/attributes.rb, line 168 def self.serialize boolean, options = {} case boolean when false then 0 when true then 1 else msg = "expected a boolean value, got #{boolean.class}" raise ArgumentError, msg end end