parsec_client 0.0.8 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/parsec_client.rb +19 -0
- metadata +2 -2
- data/lib/parsec.rb +0 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 81adcf4a72841ede2acb832245decf4e86fa773cd7fe52f68045576bccb8b7fa
|
4
|
+
data.tar.gz: 85b626eb1c1da997bd641864d936c95cb60238f458f38fd1600b51c78e10288d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8bce607b2fe7cbc255d5566c88f5b6aa8f9fe38b89eb572df33619d9fdd516c1579928c19f3c68ecd10e56d0a09c40bf15c558cec362224dfca855180a1bfc0
|
7
|
+
data.tar.gz: 4dc6b0279d6b761c18c1feb69ac785e79a57532a8de596d6c2108e080ea992e623c8c5f51b187ae7c225b9a215ac841efea332f089e99df18db88cd3714274d7
|
@@ -0,0 +1,19 @@
|
|
1
|
+
require 'parsec/configuration'
|
2
|
+
|
3
|
+
class ParsecClient
|
4
|
+
class << self
|
5
|
+
attr_accessor :configuration
|
6
|
+
end
|
7
|
+
|
8
|
+
def self.configuration
|
9
|
+
@configuration ||= Parsec::Configuration.new
|
10
|
+
end
|
11
|
+
|
12
|
+
def self.reset
|
13
|
+
@configuration = Parsec::Configuration.new
|
14
|
+
end
|
15
|
+
|
16
|
+
def self.configure
|
17
|
+
yield configuration
|
18
|
+
end
|
19
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: parsec_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Kniazevych
|
@@ -30,7 +30,6 @@ executables: []
|
|
30
30
|
extensions: []
|
31
31
|
extra_rdoc_files: []
|
32
32
|
files:
|
33
|
-
- lib/parsec.rb
|
34
33
|
- lib/parsec/availability.rb
|
35
34
|
- lib/parsec/base.rb
|
36
35
|
- lib/parsec/city.rb
|
@@ -48,6 +47,7 @@ files:
|
|
48
47
|
- lib/parsec/request/location.rb
|
49
48
|
- lib/parsec/request/order.rb
|
50
49
|
- lib/parsec/request/region.rb
|
50
|
+
- lib/parsec_client.rb
|
51
51
|
homepage:
|
52
52
|
licenses: []
|
53
53
|
metadata: {}
|
data/lib/parsec.rb
DELETED