10 lines
205 B
Ruby
10 lines
205 B
Ruby
|
|
class FailedActivation < ActiveRecord::Base
|
||
|
|
|
||
|
|
attr_accessor :order_id
|
||
|
|
|
||
|
|
def self.create_from_activation(activation)
|
||
|
|
create(activation.attributes.merge(:result => activation.result))
|
||
|
|
end
|
||
|
|
|
||
|
|
end
|