xoxzo-cloudruby 0.4.0 → 0.5.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: 3cea386f4bede872b81a09952b122c1c6508546f
4
- data.tar.gz: cf75e74653ae4ded88d73fca7412aaeef7b816fc
3
+ metadata.gz: 2f8862ab1f0ad175301a23bea0833f954fcd40f6
4
+ data.tar.gz: 1a6f86cdaa5e1543b5f11e669ef6e10da5ab8c16
5
5
  SHA512:
6
- metadata.gz: 2188d1ded294cc709cf1a9546a3583dfd31d3b374a57dc3237400452c61eed648616f854a408c91901a2615eaba592fb2c00d0509d184acc1bc5499e447dffb0
7
- data.tar.gz: d76142785560a6e074ca2d4712072352393e08e4d60c8a874d8c7b0a2273320a7d480f4db618b6f0836a3e9f3a0d48b547250eb6a2323c68ecfb4c39940db640
6
+ metadata.gz: e60b6ed49c781188f9ecc14227be799c479b0b0b3c8c602041e8a3b95ef0885d72361f8bf8e0418bb3707838063f138897b2cb3aa9d5ae1e3708c2363e092df5
7
+ data.tar.gz: 00e5a3ea1c5045d6d6e8fb78c6021cea5d2a88d14341094ad125dca7fb1d6f767de83041275e3cfe61d6d8325e704dbad690378b6d37a9997bfe6292867abe80
@@ -29,7 +29,8 @@ module Xoxzo
29
29
  @auth = {:username => sid, :password => token}
30
30
  api_host = "https://api.xoxzo.com"
31
31
  @xoxzo_api_sms_url = api_host + "/sms/messages/"
32
- @xoxzo_api_voice_simple_url = api_host + "/voice/simple/playback/"
32
+ @xoxzo_api_call_url = api_host + "/calls/"
33
+ @xoxzo_api_voice_simple_url = api_host + "/voice/simple/playbacks/"
33
34
  @xoxzo_api_dins_url = api_host + "/voice/dins/"
34
35
  end
35
36
 
@@ -125,7 +126,7 @@ module Xoxzo
125
126
  # callid :: call id in the return value of the call_simple_playback method
126
127
  # return :: XoxzoResponse
127
128
  def get_simple_playback_status(callid:)
128
- url = @xoxzo_api_voice_simple_url + callid
129
+ url = @xoxzo_api_call_url + callid
129
130
  res = HTTParty.get(url, :basic_auth => @auth)
130
131
  if res.code == 200
131
132
  xr = XoxzoResponse.new(message: json_safe_parse(res.body))
@@ -1,5 +1,5 @@
1
1
  module Xoxzo
2
2
  module Cloudruby
3
- VERSION = "0.3.0"
3
+ VERSION = "0.5.0"
4
4
  end
5
5
  end
@@ -5,7 +5,7 @@ require 'xoxzo/cloudruby/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "xoxzo-cloudruby"
8
- spec.version = "0.4.0"
8
+ spec.version = Xoxzo::Cloudruby::VERSION
9
9
  spec.authors = ["Akira Nonaka"]
10
10
  spec.email = ["akira@xoxzo.com"]
11
11
  spec.licenses = ['MIT']
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xoxzo-cloudruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Akira Nonaka
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-04-26 00:00:00.000000000 Z
11
+ date: 2018-01-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty