Sha256: 11fab3420be9be2e7d64dcc1889c59b33d79128b4bc1ddc1b3d95f10cc821873
Contents?: true
Size: 944 Bytes
Versions: 5
Compression:
Stored size: 944 Bytes
Contents
module Shop module Interface module Orders def self.included(base) base.send :include, InstanceMethods end module InstanceMethods attr_accessor :orders protected def load_default_shop_orders_regions returning OpenStruct.new do |orders| orders.edit = Radiant::AdminUI::RegionSet.new do |edit| edit.main.concat %w{head form popups} edit.form.concat %w{inputs meta parts foot} edit.foot.concat %w{buttons timestamp} end orders.new = orders.edit orders.index = Radiant::AdminUI::RegionSet.new do |index| index.head.concat %w{buttons} index.body.concat %w{price status updated customer} index.foot.concat %w{} end orders.remove = orders.index end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems