portatext 1.2.0 → 1.3.0
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7f2c8cd4973b3761b12c241ba3b8eadcffc237de
|
|
4
|
+
data.tar.gz: 4cc5661245d4eb5fb0e6e315827836c7e6b76c3d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9bbaba0093ac893fe77b02a425cc3bd30f49a3fe98680173fb33123496b244a54fbe7fbfcc60b7710d755ad475c95a52baf3de23602cf4581f0bf00f5ad7c766
|
|
7
|
+
data.tar.gz: a1914f407a2dc11f6378ecf4c97dfca0096c3387d80c01ece4e4e1f8711f0fddb3f2e426dc8301dadcadd6748754c7309cf67d54f067f7a2259c18dce83ecd90
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
module PortaText
|
|
2
2
|
module Command
|
|
3
3
|
module Api
|
|
4
|
-
# The
|
|
4
|
+
# The acl endpoint.
|
|
5
5
|
# https://github.com/PortaText/docs/wiki/REST-API#api_acl
|
|
6
6
|
#
|
|
7
7
|
# Author:: Marcelo Gornstein (mailto:marcelog@portatext.com)
|
|
@@ -19,7 +19,7 @@ module PortaText
|
|
|
19
19
|
end
|
|
20
20
|
|
|
21
21
|
def endpoint(_method)
|
|
22
|
-
'
|
|
22
|
+
'acl'
|
|
23
23
|
end
|
|
24
24
|
end
|
|
25
25
|
end
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
module PortaText
|
|
2
2
|
module Command
|
|
3
3
|
module Api
|
|
4
|
-
# The
|
|
4
|
+
# The credit_cards/:id endpoint.
|
|
5
5
|
# https://github.com/PortaText/docs/wiki/REST-API#api_credit_cards
|
|
6
6
|
#
|
|
7
7
|
# Author:: Marcelo Gornstein (mailto:marcelog@portatext.com)
|
|
@@ -32,10 +32,10 @@ module PortaText
|
|
|
32
32
|
end
|
|
33
33
|
|
|
34
34
|
def endpoint(_method)
|
|
35
|
-
return '
|
|
35
|
+
return 'credit_cards' if @args[:id].nil?
|
|
36
36
|
id = @args[:id]
|
|
37
37
|
@args.delete :id
|
|
38
|
-
"
|
|
38
|
+
"credit_cards/#{id}"
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
end
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
module PortaText
|
|
2
2
|
module Command
|
|
3
3
|
module Api
|
|
4
|
-
# The
|
|
4
|
+
# The dids/:did endpoint.
|
|
5
5
|
# https://github.com/PortaText/docs/wiki/REST-API#api_did_settings
|
|
6
6
|
#
|
|
7
7
|
# Author:: Marcelo Gornstein (mailto:marcelog@portatext.com)
|
|
@@ -33,7 +33,7 @@ module PortaText
|
|
|
33
33
|
raise 'DID number cant be null' if @args[:id].nil?
|
|
34
34
|
id = @args[:id]
|
|
35
35
|
@args.delete :id
|
|
36
|
-
"
|
|
36
|
+
"dids/#{id}"
|
|
37
37
|
end
|
|
38
38
|
end
|
|
39
39
|
end
|
data/portatext.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: portatext
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- PortaText
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-03-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: simplecov
|