Module: GpWebpay
- Defined in:
- lib/gp_webpay.rb,
lib/gp_webpay/config.rb,
lib/gp_webpay/payment.rb,
lib/gp_webpay/version.rb,
lib/gp_webpay/verification.rb,
lib/gp_webpay/web_services.rb,
lib/gp_webpay/payment_attributes.rb,
lib/gp_webpay/web_services/response.rb,
lib/gp_webpay/web_services/template.rb
Defined Under Namespace
Modules: Payment, WebServices Classes: Configuration, PaymentAttributes, Verification
Constant Summary collapse
- VERSION =
"0.2.0"
Class Attribute Summary collapse
Class Method Summary collapse
-
.config ⇒ Object
Global settings for Kaminari.
-
.configure {|@config ||= GpWebpay::Configuration.new| ... } ⇒ Object
Configures global settings for Kaminari GpWebpay.configure do |config| config.default_per_page = 10 end.
Class Attribute Details
.logger ⇒ Object
12 13 14 15 16 |
# File 'lib/gp_webpay.rb', line 12 def logger @logger ||= Logger.new($stdout).tap do |log| log.progname = self.name end end |
Class Method Details
.config ⇒ Object
Global settings for Kaminari
13 14 15 |
# File 'lib/gp_webpay/config.rb', line 13 def self.config @config end |
.configure {|@config ||= GpWebpay::Configuration.new| ... } ⇒ Object
Configures global settings for Kaminari
GpWebpay.configure do |config|
config.default_per_page = 10
end
8 9 10 |
# File 'lib/gp_webpay/config.rb', line 8 def self.configure(&block) yield @config ||= GpWebpay::Configuration.new end |