vonage_rails 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vonage_rails/version.rb +1 -1
- data/lib/vonage_rails.rb +2 -5
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2bd1c1ffc04ff4fd5f5b06244358da2857be845d4fc5bdb07531a39563643ab8
|
4
|
+
data.tar.gz: f3dfb59a0af22bb11c96e73327426a75cd795798e1efda879b079e0fda61b000
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c88e6f6d9731a61bf64ade33aac76f74c4d8cc873d6c69c2fe403148dca8cfc1ff6827e943900ea48b5cd8457cb521f6ed68c865b35949497848cf8cf79983f2
|
7
|
+
data.tar.gz: 823fc886b980615f76fa80aea231b0a7260c98ae1ae60d34c9b5e529fe86c129a91353b6774d82a87cc0e237eabb4004f6c189a41c0eb1e86bd77ecbef637e45
|
data/lib/vonage_rails/version.rb
CHANGED
data/lib/vonage_rails.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
require 'vonage'
|
2
2
|
require 'forwardable'
|
3
|
+
require 'ostruct'
|
3
4
|
|
4
5
|
module Vonage
|
5
6
|
class << self
|
@@ -7,11 +8,7 @@ module Vonage
|
|
7
8
|
|
8
9
|
attr_accessor :client
|
9
10
|
|
10
|
-
def_delegators :@client,
|
11
|
-
:conversations, :conversions, :files, :messages,
|
12
|
-
:messaging, :numbers, :number_insight, :number_insight_2,
|
13
|
-
:pricing, :redact, :secrets, :sms, :signature, :subaccounts,
|
14
|
-
:tfa, :users, :verify, :verify2, :video, :voice
|
11
|
+
def_delegators :@client, *::Vonage::Client.instance_methods(false) - [:config]
|
15
12
|
|
16
13
|
def setup(&block)
|
17
14
|
config = OpenStruct.new
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vonage_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vonage
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jwt
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 7.19
|
33
|
+
version: '7.19'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 7.19
|
40
|
+
version: '7.19'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: dotenv-rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -158,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
158
158
|
- !ruby/object:Gem::Version
|
159
159
|
version: '0'
|
160
160
|
requirements: []
|
161
|
-
rubygems_version: 3.5.
|
161
|
+
rubygems_version: 3.5.9
|
162
162
|
signing_key:
|
163
163
|
specification_version: 4
|
164
164
|
summary: This is a Rails initializer for Vonage's Ruby SDK. To use it you'll need
|