portatext 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f757968cdfd9305d7e5e048402aaf954582b60cd
4
- data.tar.gz: 0b88c4094fa1a4bffdc46348c78ab4d798021002
3
+ metadata.gz: 7f2c8cd4973b3761b12c241ba3b8eadcffc237de
4
+ data.tar.gz: 4cc5661245d4eb5fb0e6e315827836c7e6b76c3d
5
5
  SHA512:
6
- metadata.gz: 27239e1b739d42de7cb548c696bca24f830e6648447f80dd2ef6b39356c85f69e078cd5e90606516d867ae01b9bcd6a73ee5fce559374ccd72b8b51f36e0dd90
7
- data.tar.gz: b7c350b9cb5abb6ac81168f903d1b44c3d07db4952aa2fe8f11fb547026c97f79ee14858ba44c5b335db9ef100b619cba41e58e20b0d611cf244d51bc082d6cf
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 me/acl endpoint.
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
- 'me/acl'
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 me/credit_cards/:id endpoint.
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 'me/credit_cards' if @args[:id].nil?
35
+ return 'credit_cards' if @args[:id].nil?
36
36
  id = @args[:id]
37
37
  @args.delete :id
38
- "me/credit_cards/#{id}"
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 me/dids/:did endpoint.
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
- "me/dids/#{id}"
36
+ "dids/#{id}"
37
37
  end
38
38
  end
39
39
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'portatext'
3
- s.version = '1.2.0'
3
+ s.version = '1.3.0'
4
4
  s.summary = 'Official PortaText API ruby client'
5
5
  s.description = 'This is the official PortaText API ruby client'
6
6
  s.authors = ['PortaText']
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.2.0
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-02-11 00:00:00.000000000 Z
11
+ date: 2016-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: simplecov