lib/dynamoid/adapter_plugin/aws_sdk_v2.rb
# Converts from symbol to the API string for the given data type
# E.g. :number -> 'N'
Converts from symbol to the API string for the given data type
E.g.
Converts from symbol to the API string for the given data type E . g .
def api_type(type)
        case(type)
        when :string then STRING_TYPE
        when :number then NUM_TYPE
        when :binary then BINARY_TYPE
        else raise "Unknown type: #{type}"
        end
      end
def api_type ( type ) case ( type ) when :string then STRING_TYPE when :number then NUM_TYPE when :binary then BINARY_TYPE else raise "Unknown type: #{type}" end end
Converts from symbol to the API string for the given data type
E.g.
Converts from symbol to the API string for the given data type E . g .
type