Module: SolidusBraintree

Defined in:
app/models/solidus_braintree/response.rb,
lib/solidus_braintree.rb,
lib/solidus_braintree/engine.rb,
lib/solidus_braintree/version.rb,
app/models/solidus_braintree/source.rb,
app/models/solidus_braintree/address.rb,
app/models/solidus_braintree/gateway.rb,
lib/solidus_braintree/country_mapper.rb,
app/models/solidus_braintree/customer.rb,
app/models/solidus_braintree/avs_result.rb,
app/models/solidus_braintree/transaction.rb,
lib/solidus_braintree/request_protection.rb,
app/models/solidus_braintree/configuration.rb,
lib/solidus_braintree/extension_configuration.rb,
app/models/solidus_braintree/transaction_import.rb,
app/models/solidus_braintree/transaction_address.rb,
app/helpers/solidus_braintree/braintree_admin_helper.rb,
lib/generators/solidus_braintree/install/install_generator.rb,
app/decorators/models/solidus_braintree/spree_user_decorator.rb,
app/decorators/models/solidus_braintree/spree_store_decorator.rb,
lib/controllers/backend/solidus_braintree/configurations_controller.rb,
app/decorators/controllers/solidus_braintree/client_tokens_controller.rb,
app/decorators/controllers/solidus_braintree/admin_payments_controller_decorator.rb,
lib/generators/solidus_braintree/install/templates/app/controllers/solidus_braintree/checkouts_controller.rb,
lib/generators/solidus_braintree/install/templates/app/helpers/solidus_braintree/braintree_checkout_helper.rb,
lib/generators/solidus_braintree/install/templates/app/controllers/solidus_braintree/transactions_controller.rb

Overview

Response object that all actions on the gateway should return

Defined Under Namespace

Modules: AdminPaymentsControllerDecorator, BraintreeAdminHelper, BraintreeCheckoutHelper, CountryMapper, Generators, RequestProtection, SpreeStoreDecorator, SpreeUserDecorator Classes: AVSResult, Address, CheckoutsController, ClientTokensController, Configuration, ConfigurationsController, Customer, Engine, ExtensionConfiguration, Gateway, Response, Source, Transaction, TransactionAddress, TransactionImport, TransactionsController

Constant Summary collapse

VERSION =
'3.2.0'

Class Method Summary collapse

Class Method Details

.configurationObject Also known as: config



13
14
15
# File 'lib/solidus_braintree/extension_configuration.rb', line 13

def configuration
  @configuration ||= ExtensionConfiguration.new
end

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

Yields:



19
20
21
# File 'lib/solidus_braintree/extension_configuration.rb', line 19

def configure
  yield configuration
end

.table_name_prefixObject



13
14
15
# File 'lib/solidus_braintree.rb', line 13

def self.table_name_prefix
  'solidus_paypal_braintree_'
end