class AWS::DynamoDB::Resource
Public Class Methods
attribute(name, options = {})
click to toggle source
@api private
Calls superclass method
AWS::Core::Resource#attribute
# File lib/aws/dynamo_db/resource.rb, line 19 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