Module: Fortenet
- Defined in:
- lib/fortenet.rb,
lib/fortenet/client.rb,
lib/fortenet/request.rb,
lib/fortenet/version.rb
Defined Under Namespace
Constant Summary collapse
- VERSION =
"3.0.1"- @@endpoint =
'https://sandbox.forte.net/api/v3'- @@debug =
true- @@proxy_port =
80
Class Method Summary collapse
Class Method Details
.configure {|_self| ... } ⇒ Object
26 27 28 |
# File 'lib/fortenet.rb', line 26 def self.configure yield self end |
.debug=(flag) ⇒ Object
13 14 15 16 |
# File 'lib/fortenet.rb', line 13 def self.debug=(flag) @@debug = flag Fortenet::Request..delete(:debug_output) unless flag end |
.debug_output=(output) ⇒ Object
18 19 20 21 |
# File 'lib/fortenet.rb', line 18 def self.debug_output=(output) return unless debug Fortenet::Request.debug_output(output) end |