portatext 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/portatext/command/api/version.rb +17 -0
- data/lib/portatext.rb +1 -0
- data/portatext.gemspec +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86430b2cde259738a3d2fe726d6f449c648afa78
|
4
|
+
data.tar.gz: 2390ff7637f0d09e5c90c171c39455f56da28046
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30d75f32f0744b4f52d1d5a7f2f4167b617ed53c937010e77a2bd8b6ce32256a4ce865ae1e0583525e7696e640a77e741cca09ee92961f9d72a94e26317435ea
|
7
|
+
data.tar.gz: 132aab1ab06e47e82258bb0e8bc1018383a03d1602667bc29981f4e44b54c3bbf3b127b4d3a7807dfbd44c0d9d5123eafbf0d89390eef8a13402a7bb9505c63c
|
@@ -0,0 +1,17 @@
|
|
1
|
+
module PortaText
|
2
|
+
module Command
|
3
|
+
module Api
|
4
|
+
# The version endpoint.
|
5
|
+
# https://github.com/PortaText/docs/wiki/REST-API#api_version
|
6
|
+
#
|
7
|
+
# Author:: Marcelo Gornstein (mailto:marcelog@portatext.com)
|
8
|
+
# Copyright:: Copyright (c) 2015 PortaText
|
9
|
+
# License:: Apache-2.0
|
10
|
+
class Version < Base
|
11
|
+
def endpoint(_method)
|
12
|
+
'version'
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
data/lib/portatext.rb
CHANGED
@@ -38,6 +38,7 @@ require_relative 'portatext/command/api/contacts'
|
|
38
38
|
require_relative 'portatext/command/api/number_verify'
|
39
39
|
require_relative 'portatext/command/api/services'
|
40
40
|
require_relative 'portatext/command/api/trunks'
|
41
|
+
require_relative 'portatext/command/api/version'
|
41
42
|
|
42
43
|
# The PortaText namespace.
|
43
44
|
#
|
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.5.
|
4
|
+
version: 1.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- PortaText
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: simplecov
|
@@ -163,6 +163,7 @@ files:
|
|
163
163
|
- lib/portatext/command/api/templates.rb
|
164
164
|
- lib/portatext/command/api/timezones.rb
|
165
165
|
- lib/portatext/command/api/trunks.rb
|
166
|
+
- lib/portatext/command/api/version.rb
|
166
167
|
- lib/portatext/command/base.rb
|
167
168
|
- lib/portatext/command/descriptor.rb
|
168
169
|
- lib/portatext/command/result.rb
|