module Opera::AdMarvel::Reportable::ClassMethods

Public Instance Methods

create(given_attributes = {}) click to toggle source
# File lib/opera/ad_marvel/models/reportable.rb, line 41
def create(given_attributes = {})
  reportable = self.new given_attributes
  reportable.save
  reportable
end
Also aliased as: report
report(given_attributes = {})
Alias for: create