module Omniorder

Constants

VERSION

Attributes

customer_type[W]
default_customer_country[W]
order_product_type[W]
order_type[W]
product_type[W]

Public Class Methods

customer_type() click to toggle source
# File lib/omniorder.rb, line 34
def customer_type
  @customer_type || Customer
rescue NameError
  raise "Please set Omniorder#customer_type"
end
default_customer_country() click to toggle source
# File lib/omniorder.rb, line 52
def default_customer_country
  @default_customer_country || 'United Kingdom'
end
order_product_type() click to toggle source
# File lib/omniorder.rb, line 46
def order_product_type
  @order_product_type || OrderProduct
rescue NameError
  raise "Please set Omniorder#order_product_type"
end
order_type() click to toggle source
# File lib/omniorder.rb, line 28
def order_type
  @order_type || Order
rescue NameError
  raise "Please set Omniorder#order_type"
end
product_type() click to toggle source
# File lib/omniorder.rb, line 40
def product_type
  @product_type || Product
rescue NameError
  raise "Please set Omniorder#product_type"
end