Class: SpreeAvatax::Config
- Inherits:
-
Object
- Object
- SpreeAvatax::Config
- Defined in:
- lib/spree_avatax/config.rb
Class Attribute Summary collapse
-
.company_code ⇒ Object
Returns the value of attribute company_code.
-
.password ⇒ Object
Returns the value of attribute password.
-
.sales_invoice_cancel_error_handler ⇒ Object
Returns the value of attribute sales_invoice_cancel_error_handler.
-
.sales_invoice_commit_error_handler ⇒ Object
Returns the value of attribute sales_invoice_commit_error_handler.
-
.sales_invoice_generate_error_handler ⇒ Object
These error handlers should be objects that respond to “call” and accept an order and an exception as arguments.
-
.service_url ⇒ Object
Returns the value of attribute service_url.
-
.username ⇒ Object
Returns the value of attribute username.
Class Attribute Details
.company_code ⇒ Object
Returns the value of attribute company_code.
6 7 8 |
# File 'lib/spree_avatax/config.rb', line 6 def company_code @company_code end |
.password ⇒ Object
Returns the value of attribute password.
5 6 7 |
# File 'lib/spree_avatax/config.rb', line 5 def password @password end |
.sales_invoice_cancel_error_handler ⇒ Object
Returns the value of attribute sales_invoice_cancel_error_handler.
13 14 15 |
# File 'lib/spree_avatax/config.rb', line 13 def sales_invoice_cancel_error_handler @sales_invoice_cancel_error_handler end |
.sales_invoice_commit_error_handler ⇒ Object
Returns the value of attribute sales_invoice_commit_error_handler.
12 13 14 |
# File 'lib/spree_avatax/config.rb', line 12 def sales_invoice_commit_error_handler @sales_invoice_commit_error_handler end |
.sales_invoice_generate_error_handler ⇒ Object
These error handlers should be objects that respond to “call” and accept an order and an exception as arguments. This allows you to ignore certain errors or handle them in specific ways.
11 12 13 |
# File 'lib/spree_avatax/config.rb', line 11 def sales_invoice_generate_error_handler @sales_invoice_generate_error_handler end |
.service_url ⇒ Object
Returns the value of attribute service_url.
7 8 9 |
# File 'lib/spree_avatax/config.rb', line 7 def service_url @service_url end |
.username ⇒ Object
Returns the value of attribute username.
4 5 6 |
# File 'lib/spree_avatax/config.rb', line 4 def username @username end |