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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dc6b1424ed3874f0670ffb5c0de53e27e2c08b7e
4
- data.tar.gz: 1c714dc3b4ff89687d1732e48ac6c1a184a9ec68
3
+ metadata.gz: 0ece1b77c41ab6af3cd5027fc544bf92eba69edf
4
+ data.tar.gz: 9cac24ed1ddaac15ba4f67feae9465bdff894f91
5
5
  SHA512:
6
- metadata.gz: df46ce72f2284d0f2b06af10398fe02034cec97ac3fcda5156c83e9db6598dfcd22dbcaee2037e4f559de4fb012c612dd7010591c8edb7db410f93db41bb5401
7
- data.tar.gz: 31b096834ae78e9680d08a7eebb31767c8b1b814d6db0e29e7406a8dda69db6439beab05d2997e0c22e4eccfc89572da4976df23801216f4f93c455035618503
6
+ metadata.gz: 7f877466dd70fb6396ffc9ab35187ff41469670e7c4f023336852009b2f62a50a02eb617fc81af9a39d3bc90b485f84718a373f79471349befed46aedd551732
7
+ data.tar.gz: cd20decac79c681efe8c4a08d46587c1e7564a0ef729c7b6671cfa94dffe180bd8873b8ce3b1cefc090c636c1eaafeea77561011bb0fec510ea08eb5263873a3
@@ -82,7 +82,8 @@ module TextVeloper
82
82
  self
83
83
  end
84
84
 
85
- def sub_account_api sub_token
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]
@@ -1,3 +1,3 @@
1
1
  module TextVeloper
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: text_veloper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gerardo Barcia Palacios