Module: CheckIssuing

Defined in:
lib/check_issuing.rb,
lib/check_issuing/client.rb,
lib/check_issuing/request.rb,
lib/check_issuing/version.rb

Defined Under Namespace

Classes: Client, Request

Constant Summary collapse

VERSION =
'1.0.3'
@@endpoint =
'https://apisb.webmasterchecks.com/'
@@debug =
true
@@proxy_port =
80

Class Method Summary collapse

Class Method Details

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

Yields:

  • (_self)

Yield Parameters:

  • _self (CheckIssuing)

    the object that the method was called on



26
27
28
# File 'lib/check_issuing.rb', line 26

def self.configure
  yield self
end

.debug=(flag) ⇒ Object



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

def self.debug=(flag)
  @@debug = flag
  CheckIssuing::Request.default_options.delete(:debug_output) unless flag
end

.debug_output=(output) ⇒ Object



18
19
20
21
# File 'lib/check_issuing.rb', line 18

def self.debug_output=(output)
  return unless debug
  CheckIssuing::Request.debug_output(output)
end