module ActivityNotification::DynamoidExtension

Dynamoid extension module for ActivityNotification.

Public Instance Methods

becomes(klass) click to toggle source

Returns an instance of the specified klass with the attributes of the current record.

# File lib/activity_notification/orm/dynamoid/extension.rb, line 258
def becomes(klass)
  self
end
delete_all() click to toggle source

Defines delete_all method as calling delete_table and create_table methods

# File lib/activity_notification/orm/dynamoid/extension.rb, line 251
def delete_all
  delete_table
  create_table(sync: true)
end