fastbound-ruby 1.0.2 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fastbound-ruby/api.rb +1 -0
- data/lib/fastbound-ruby/version.rb +1 -1
- data/lib/fastbound-ruby.rb +21 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f29a89f9718d0d0f6f417247ea7979fb5ec031114dd716cc6b2225dd65f7866e
|
4
|
+
data.tar.gz: 61e1274520ce593d2fe894c7c3143baf15c59ceaf7bcc927348456011ae39495
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11c243758896042924301540e8abc880719d6369a0919cbd2a5bfe239c31746452fb5b91407ea2c831fbdf97391982e482392f82f520581fcb06941f582fa2af
|
7
|
+
data.tar.gz: dfe273aea728edb15d3f090aa91baab9544dcd1a50a20b763598a7e9cfe88b731f85c850a275dad24aaa6ab6a6e90808b7c397c4d3280e8b5b86b4f91f06cd70
|
data/lib/fastbound-ruby/api.rb
CHANGED
data/lib/fastbound-ruby.rb
CHANGED
@@ -15,4 +15,25 @@ require 'fastbound-ruby/smart_list'
|
|
15
15
|
require 'fastbound-ruby/webhook'
|
16
16
|
|
17
17
|
module FastBound
|
18
|
+
class << self
|
19
|
+
attr_accessor :config
|
20
|
+
end
|
21
|
+
|
22
|
+
def self.config
|
23
|
+
@config ||= Configuration.new
|
24
|
+
end
|
25
|
+
|
26
|
+
def self.configure
|
27
|
+
yield(config)
|
28
|
+
end
|
29
|
+
|
30
|
+
class Configuration
|
31
|
+
attr_accessor :full_debug
|
32
|
+
|
33
|
+
alias :full_debug? :full_debug
|
34
|
+
|
35
|
+
def initialize
|
36
|
+
@full_debug ||= false
|
37
|
+
end
|
38
|
+
end
|
18
39
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastbound-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeffrey Dill
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|