Method: Dynamoid::Document::ClassMethods#read_capacity

Defined in:
lib/dynamoid/document.rb

#read_capacityInteger

Returns the read capacity for this table.

Returns:

  • (Integer)

    read capacity units

Since:

  • 0.4.0



28
29
30
# File 'lib/dynamoid/document.rb', line 28

def read_capacity
  options[:read_capacity] || Dynamoid::Config.read_capacity
end