nexmo-voice 0.0.1 → 0.0.2

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: bf115bb53ea2a8a64922a53c9283fdd44b0fa0df
4
- data.tar.gz: a3d27e3481f0192d4ca4ef47ca45df354c50726c
3
+ metadata.gz: dcde1288aaa42a8c6fe96875317a2d7d80490f43
4
+ data.tar.gz: 0824bef538f1f8a2bcbf967eabba1273927ee943
5
5
  SHA512:
6
- metadata.gz: f5135bae228164d0c543bc1aa829dfd768af8ce1c0062539b7fc86c7b61a1c2c60e06facce8cb40e243745154bf647ebd2ab63be6b78cc83816ae316d4075278
7
- data.tar.gz: c302cdedce05dce11a6da0e1d93ad2dd4182e58e158e1166132507f8f924766a86be63ac910a5588f15fd5579185f8d7e54bd12040fe082a1ba01a9ff06e6933
6
+ metadata.gz: 9900632c2417fa020fb7b41a837e5138ec7f2f3e13573f1697208c998e509169eddcc26e7de98c8a34d35b0a75a33e9f6c53ad23d3b45d1a78e718d80a54f7a7
7
+ data.tar.gz: 249e2583124f011ca64b05e0dc59e474c3a9d5b4d3bda1ed5a21324539db6cee7a1526287bc08894ede8772201514ca93a5dd0918b2edeb4fe9f817dd1fa5dcd
data/lib/nexmo/voice.rb CHANGED
@@ -6,7 +6,7 @@ require 'nexmo/voice/ttses'
6
6
 
7
7
  module Nexmo
8
8
  module Voice
9
- BASE_URL = 'https://rest.nexmo.com'
9
+ BASE_URL = 'https://api.nexmo.com'
10
10
 
11
11
  class Client
12
12
  attr_accessor :api_key, :api_secret,
@@ -1,5 +1,5 @@
1
1
  module Nexmo
2
2
  module Voice
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
@@ -11,7 +11,7 @@ describe Nexmo::Voice::Calls do
11
11
  'status' => '0',
12
12
  'error-text' => 'Success'
13
13
  }
14
- stub_request(:get, %r(https://rest.nexmo.com/call/json.*)).to_return(body: response_json)
14
+ stub_request(:get, %r(https://api.nexmo.com/call/json.*)).to_return(body: response_json)
15
15
  end
16
16
 
17
17
  it 'not raises errors' do
@@ -11,7 +11,7 @@ describe Nexmo::Voice::Ttses do
11
11
  'status' => '0',
12
12
  'error-text' => 'Success'
13
13
  }
14
- stub_request(:get, %r(https://rest.nexmo.com/tts/json.*)).to_return(body: response_json)
14
+ stub_request(:get, %r(https://api.nexmo.com/tts/json.*)).to_return(body: response_json)
15
15
  end
16
16
 
17
17
  it 'not raises errors' do
@@ -2,7 +2,7 @@ require 'spec_helper'
2
2
 
3
3
  RSpec.describe Nexmo::Voice do
4
4
  it 'returns the base url' do
5
- expect(Nexmo::Voice::BASE_URL).to eq 'https://rest.nexmo.com'
5
+ expect(Nexmo::Voice::BASE_URL).to eq 'https://api.nexmo.com'
6
6
  end
7
7
  end
8
8
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nexmo-voice
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - fahchen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-24 00:00:00.000000000 Z
11
+ date: 2015-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -122,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
122
122
  version: '0'
123
123
  requirements: []
124
124
  rubyforge_project:
125
- rubygems_version: 2.2.2
125
+ rubygems_version: 2.4.5
126
126
  signing_key:
127
127
  specification_version: 4
128
128
  summary: A Ruby wrapper for the Nexmo Voice API.