class AWS::DynamoDB::Resource

def self.attribute name, options = {}

Other tags:
    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[:as]
    options[:as] = name.to_s.split(/_/).map(&:capitalize).join
  end
  super(name, options)
end