Class: Spree::Admin::Tabs::OrderDefaultTabsBuilder

Inherits:
Object
  • Object
show all
Defined in:
app/models/spree/admin/tabs/order_default_tabs_builder.rb

Overview

rubocop:disable Metrics/ClassLength

Instance Method Summary collapse

Instance Method Details

#build ⇒ Object



8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'app/models/spree/admin/tabs/order_default_tabs_builder.rb', line 8

def build
  root = Root.new
  add_cart_tab(root)
  add_channel_tab(root)
  add_customer_tab(root)
  add_shipments_tab(root)
  add_adjustments_tab(root)
  add_payments_tab(root)
  add_return_authorizations_tab(root)
  add_customer_returns_tab(root)
  add_state_changes_tab(root)
  root
end