Class: Comable::DraftOrder

Inherits:
Object
  • Object
show all
Defined in:
app/models/comable/draft_order.rb

Class Method Summary collapse

Class Method Details

.new(attributes = {}) ⇒ Object



6
7
8
# File 'app/models/comable/draft_order.rb', line 6

def new(attributes = {})
  Comable::Order.where(draft: true).new(attributes)
end