class SolidusShipstation::Configuration
Attributes
api_batch_size[RW]
api_key[RW]
api_secret[RW]
api_shipment_matcher[RW]
api_shipment_serializer[RW]
api_sync_threshold[RW]
capture_at_notification[RW]
error_handler[RW]
export_canceled_shipments[RW]
password[RW]
shipment_notice_class[RW]
ssl_encrypted[RW]
username[RW]
weight_units[RW]
Public Class Methods
new()
click to toggle source
# File lib/solidus_shipstation/configuration.rb, line 22 def initialize @api_batch_size = 100 @api_sync_threshold = 7.days @error_handler = ->(_error, _extra = {}) { Rails.logger.error "#{error.inspect} (#{extra.inspect})" } @api_shipment_matcher = proc do |shipstation_order, shipments| shipments.find { |shipment| shipment.number == shipstation_order['orderNumber'] } end @shipment_notice_class = 'SolidusShipstation::ShipmentNotice' end