telnyx 0.0.3 → 0.0.4
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 +4 -4
- data/VERSION +1 -1
- data/lib/telnyx/call.rb +2 -2
- data/lib/telnyx/version.rb +1 -1
- data/telnyx.gemspec +1 -1
- data/test/telnyx/call_control_test.rb +5 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7adb126b3cbe07a3950866ef20b5c49e7a6564a40842c6edb9298a4873f2baf9
|
|
4
|
+
data.tar.gz: d326a06d8bf09bf7b57eec35f4b84201a09ac4976bc3d73e769884e88321558e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3bf5601c848c106781601d82943ad7414ce64bb42aad027b8dd2a0939fa66fc49e4537260334f50a74dd0b64c650c3cfb211a493f0f1782889c6697723b351a9
|
|
7
|
+
data.tar.gz: ef86e7d33a6d982ef760eedb76e4de4e55de335c7b58adb353471547f457be9ebbb33a568ef465b3a50f21007328ebf7bb8fe1cb464d87c39c20e2938f518820
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.4
|
data/lib/telnyx/call.rb
CHANGED
|
@@ -5,8 +5,8 @@ module Telnyx
|
|
|
5
5
|
extend Telnyx::APIOperations::Create
|
|
6
6
|
extend Telnyx::APIOperations::NestedResource
|
|
7
7
|
|
|
8
|
-
def initialize(*
|
|
9
|
-
super
|
|
8
|
+
def initialize(*args, **opts)
|
|
9
|
+
super
|
|
10
10
|
opts.each do |k, v|
|
|
11
11
|
setter = "#{k}=".to_sym
|
|
12
12
|
next unless respond_to? setter
|
data/lib/telnyx/version.rb
CHANGED
data/telnyx.gemspec
CHANGED
|
@@ -6,7 +6,7 @@ require "telnyx/version"
|
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "telnyx"
|
|
9
|
-
s.version =
|
|
9
|
+
s.version = Telnyx::VERSION
|
|
10
10
|
s.required_ruby_version = ">= 2.1.0"
|
|
11
11
|
s.summary = "Ruby bindings for the Telnyx API"
|
|
12
12
|
s.description = "Telnyx enables anyone to deliver enterprise-grade real-time communications over the internet. See https://telnyx.com for details."
|
|
@@ -40,7 +40,11 @@ module Telnyx
|
|
|
40
40
|
end
|
|
41
41
|
end
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
should "retrieve call" do
|
|
44
|
+
Telnyx::Call.retrieve("1234")
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
context "object created through #new" do
|
|
44
48
|
should "get and set call_control_id through alias" do
|
|
45
49
|
call = Call.new
|
|
46
50
|
refute call.id
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: telnyx
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Telnyx
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-09-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|