push_to_devices 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/push_to_devices.rb +9 -9
- data/push_to_devices.gemspec +1 -1
- metadata +1 -1
data/lib/push_to_devices.rb
CHANGED
@@ -5,7 +5,7 @@ require "cgi"
|
|
5
5
|
module PushToDevices
|
6
6
|
|
7
7
|
module Config
|
8
|
-
VERSION = '0.1.
|
8
|
+
VERSION = '0.1.3'
|
9
9
|
end
|
10
10
|
|
11
11
|
class Exception < ::StandardError
|
@@ -26,14 +26,14 @@ module PushToDevices
|
|
26
26
|
|
27
27
|
def configure
|
28
28
|
# defaults
|
29
|
-
client_id = ""
|
30
|
-
client_secret = ""
|
31
|
-
user_agent = "PushToDevices RB #{PushToDevices::Config::VERSION}"
|
32
|
-
use_ssl = true
|
33
|
-
debug = true
|
34
|
-
host = ""
|
35
|
-
port = 80
|
36
|
-
client_info = {version: PushToDevices::Config::VERSION}
|
29
|
+
self.client_id = ""
|
30
|
+
self.client_secret = ""
|
31
|
+
self.user_agent = "PushToDevices RB #{PushToDevices::Config::VERSION}"
|
32
|
+
self.use_ssl = true
|
33
|
+
self.debug = true
|
34
|
+
self.host = ""
|
35
|
+
self.port = 80
|
36
|
+
self.client_info = {version: PushToDevices::Config::VERSION}
|
37
37
|
|
38
38
|
yield self
|
39
39
|
end
|
data/push_to_devices.gemspec
CHANGED