class AWS::DynamoDB::Resource
def self.attribute name, options = {}
- Private: -
def self.attribute name, options = {} # DynamoDB attributes are all returned in UpperCamelCase, this # converts the :snake_case name into the correct format. unless options[:from] options[:from] = name.to_s.split(/_/).map(&:capitalize).join end super(name, options) end