Class: Hws::Connectors

Inherits:
Object
  • Object
show all
Includes:
Exception, Helper
Defined in:
lib/hws-connectors.rb

Direct Known Subclasses

Hypto, Request, Response

Defined Under Namespace

Modules: Dto, Exception, Helper Classes: Base, Engine, Hypto, PayoutsController, Railtie, Request, Response, VirtualAccountsController, WebhooksController

Constant Summary collapse

VERSION =
'0.1.1'.freeze

Class Method Summary collapse

Methods included from Helper

included

Class Method Details

.configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



15
16
17
18
# File 'lib/hws-connectors.rb', line 15

def configure
  yield self
  self
end

.logging?(method) ⇒ Boolean

Returns:

  • (Boolean)


20
21
22
# File 'lib/hws-connectors.rb', line 20

def logging?(method)
  !options[:skip_logging].to_a.include?(method.to_s)
end