Class: Order

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/generators/shopqi_app_webhook/templates/app/models/order.rb

Instance Method Summary collapse

Instance Method Details

#admin_urlObject



5
6
7
# File 'lib/generators/shopqi_app_webhook/templates/app/models/order.rb', line 5

def admin_url
  "#{shop.admin_url}/orders/#{order_id}"
end