Module: SolidusBolt

Defined in:
app/models/solidus_bolt.rb,
lib/solidus_bolt/engine.rb,
lib/solidus_bolt/version.rb,
lib/solidus_bolt/configuration.rb,
app/models/solidus_bolt/gateway.rb,
app/webhooks/solidus_bolt/sorter.rb,
app/jobs/solidus_bolt/add_address_job.rb,
app/models/solidus_bolt/payment_method.rb,
app/models/solidus_bolt/payment_source.rb,
app/services/solidus_bolt/base_service.rb,
app/services/solidus_bolt/server_error.rb,
app/models/solidus_bolt/bolt_configuration.rb,
app/controllers/solidus_bolt/base_controller.rb,
app/services/solidus_bolt/oauth/token_service.rb,
app/webhooks/solidus_bolt/handlers/base_handler.rb,
app/webhooks/solidus_bolt/handlers/void_handler.rb,
app/controllers/solidus_bolt/accounts_controller.rb,
app/controllers/solidus_bolt/webhooks_controller.rb,
app/decorators/omniauth/strategies/bolt_decorator.rb,
app/services/solidus_bolt/accounts/detail_service.rb,
app/services/solidus_bolt/webhooks/create_service.rb,
app/webhooks/solidus_bolt/handlers/credit_handler.rb,
app/decorators/models/solidus_bolt/order_decorator.rb,
app/webhooks/solidus_bolt/handlers/capture_handler.rb,
app/services/solidus_bolt/transactions/base_service.rb,
app/services/solidus_bolt/transactions/void_service.rb,
app/decorators/models/solidus_bolt/address_decorator.rb,
app/decorators/models/solidus_bolt/payment_decorator.rb,
app/services/solidus_bolt/payments/void_sync_service.rb,
app/decorators/models/solidus_bolt/shipment_decorator.rb,
app/services/solidus_bolt/transactions/detail_service.rb,
app/services/solidus_bolt/transactions/refund_service.rb,
lib/generators/solidus_bolt/install/install_generator.rb,
app/decorators/models/solidus_bolt/log_entry_decorator.rb,
app/services/solidus_bolt/accounts/add_address_service.rb,
app/services/solidus_bolt/payments/credit_sync_service.rb,
app/services/solidus_bolt/transactions/capture_service.rb,
app/services/solidus_bolt/users/sync_addresses_service.rb,
app/services/solidus_bolt/payments/capture_sync_service.rb,
app/services/solidus_bolt/transactions/authorize_service.rb,
app/services/solidus_bolt/accounts/detect_account_service.rb,
app/services/solidus_bolt/users/refresh_access_token_service.rb,
app/services/solidus_bolt/users/sync_payment_sources_service.rb,
app/services/solidus_bolt/accounts/add_payment_method_service.rb,
app/services/solidus_bolt/merchant_configuration/get_callback_urls_service.rb,
app/services/solidus_bolt/merchant_configuration/set_callback_urls_service.rb,
app/decorators/controllers/solidus_bolt/spree_checkout_controller/add_addresses_to_bolt.rb,
app/decorators/controllers/solidus_bolt/spree_checkout_controller/refresh_bolt_addresses.rb,
app/decorators/controllers/solidus_bolt/spree_checkout_controller/refresh_bolt_payment_source.rb

Defined Under Namespace

Modules: Accounts, AddressDecorator, Generators, Handlers, LogEntryDecorator, MerchantConfiguration, Oauth, OrderDecorator, PaymentDecorator, Payments, ShipmentDecorator, SpreeCheckoutController, Transactions, Users, Webhooks Classes: AccountsController, AddAddressJob, BaseController, BaseService, BoltConfiguration, Configuration, Engine, Gateway, PaymentMethod, PaymentSource, ServerError, Sorter, WebhooksController

Constant Summary collapse

VERSION =
'0.7.2'

Class Method Summary collapse

Class Method Details

.configurationObject Also known as: config



9
10
11
# File 'lib/solidus_bolt/configuration.rb', line 9

def configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



15
16
17
# File 'lib/solidus_bolt/configuration.rb', line 15

def configure
  yield configuration
end

.table_name_prefixObject



4
5
6
# File 'app/models/solidus_bolt.rb', line 4

def self.table_name_prefix
  'solidus_bolt_'
end