text_veloper 0.0.2 → 0.0.3
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/text_veloper.rb +2 -1
- data/lib/text_veloper/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: 0ece1b77c41ab6af3cd5027fc544bf92eba69edf
|
|
4
|
+
data.tar.gz: 9cac24ed1ddaac15ba4f67feae9465bdff894f91
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7f877466dd70fb6396ffc9ab35187ff41469670e7c4f023336852009b2f62a50a02eb617fc81af9a39d3bc90b485f84718a373f79471349befed46aedd551732
|
|
7
|
+
data.tar.gz: cd20decac79c681efe8c4a08d46587c1e7564a0ef729c7b6671cfa94dffe180bd8873b8ce3b1cefc090c636c1eaafeea77561011bb0fec510ea08eb5263873a3
|
data/lib/text_veloper.rb
CHANGED
|
@@ -82,7 +82,8 @@ module TextVeloper
|
|
|
82
82
|
self
|
|
83
83
|
end
|
|
84
84
|
|
|
85
|
-
def sub_account_api
|
|
85
|
+
def sub_account_api sub_token_param = nil
|
|
86
|
+
sub_token = sub_token_param.nil? ? TextVeloper::Api.instance.sub_token : sub_token_param
|
|
86
87
|
return TextVeloper::Api.instance.config_tokens_account @token, sub_token unless @memorizing
|
|
87
88
|
@sub_accounts[sub_token] = TextVeloper::Api.instance.config_tokens_account @token, sub_token unless @sub_accounts.keys.include? sub_token
|
|
88
89
|
@sub_accounts[sub_token]
|
data/lib/text_veloper/version.rb
CHANGED