rallio 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/rallio.rb +14 -0
- data/lib/rallio/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04a1b0410f3446004d68353fb670ea94971bfbf2
|
4
|
+
data.tar.gz: 86bf9e90c057f0a76bc23caa041d18b7f393ee38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc8845c14a63db683ce8eea98fbff1fb71200467aed893a18e053708a1befdebb6ed38a36619c32ff623f2bdb26805ebb5337ac4e1da3dafc9679bacb302af50
|
7
|
+
data.tar.gz: fd31f9811b8c639514c0e5e5db4f39fac9743c523aba43c031e96e7cd50d4ef8ba01de4dd4e04cfb6531de81646367cd53984f3e8a0b61c1e9c1a7e97c4c937c
|
data/lib/rallio.rb
CHANGED
@@ -5,18 +5,32 @@ require 'autoloaded'
|
|
5
5
|
module Rallio
|
6
6
|
Autoloaded.class {}
|
7
7
|
|
8
|
+
# Sets the oauth application id received from Rallio.
|
9
|
+
#
|
10
|
+
# @param value [String] the oauth application id token
|
11
|
+
# @return [String] value
|
8
12
|
def self.application_id=(value)
|
9
13
|
@application_id = value
|
10
14
|
end
|
11
15
|
|
16
|
+
# Retreives application id token.
|
17
|
+
#
|
18
|
+
# @return [String, nil] the application id or nil
|
12
19
|
def self.application_id
|
13
20
|
@application_id
|
14
21
|
end
|
15
22
|
|
23
|
+
# Sets the oauth application secret received from Rallio.
|
24
|
+
#
|
25
|
+
# @param value [String] the oauth application secret token
|
26
|
+
# @return [String] value
|
16
27
|
def self.application_secret=(value)
|
17
28
|
@application_secret = value
|
18
29
|
end
|
19
30
|
|
31
|
+
# Retreives application secret token.
|
32
|
+
#
|
33
|
+
# @return [String, nil] the application secret or nil
|
20
34
|
def self.application_secret
|
21
35
|
@application_secret
|
22
36
|
end
|
data/lib/rallio/version.rb
CHANGED