# File lib/aws/option_grammar.rb, line 74 def encode_value(value) value.to_s # value.to_s # case value # when Integer # when # case value # when nil, '' then nil # when DateTime then raw # when Integer then DateTime.parse(Time.at(raw).to_s) # timestamp # else DateTime.parse(raw.to_s) # work with Time, Date and String objects # end end