class AWS::Record::StringAttribute
def self.serialize string, options = {}
-
(String)
- The serialized string.
Parameters:
-
options
(Hash
) -- -
string
(String
) --
def self.serialize string, options = {} unless string.is_a?(String) msg = "expected a String value, got #{string.class}" raise ArgumentError, msg end string end