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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1ba8963769a0501401b0f08e6728ba2a42aa7ab8
4
- data.tar.gz: 72f185c49d033e2e9e4a004bd6370bd43fdcfd92
3
+ metadata.gz: 86430b2cde259738a3d2fe726d6f449c648afa78
4
+ data.tar.gz: 2390ff7637f0d09e5c90c171c39455f56da28046
5
5
  SHA512:
6
- metadata.gz: 98c03cb4add5c6a623c0a7d5c19ac15103f2c63b4106c180e1abe7ddbd7fd49205cb38c24fe6b71e01cb53f6b9a574c80ead83105b7255756147bcb385d8bdfa
7
- data.tar.gz: dc72e182946554cf52b72a94398297bb553d701ad83821e68ec940380eab10acadcaaa3a8c8016fa029b401516827d43cd177d4b7a5b496f2ae5660db4473d84
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
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'portatext'
3
- s.version = '1.5.0'
3
+ s.version = '1.5.1'
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.5.0
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-16 00:00:00.000000000 Z
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