wavecell_otp_and_sms 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.rspec_status +0 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +43 -0
- data/LICENSE.txt +21 -0
- data/README.md +74 -0
- data/Rakefile +2 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/wavecell_otp_and_sms/configuration.rb +10 -0
- data/lib/wavecell_otp_and_sms/send_otp.rb +42 -0
- data/lib/wavecell_otp_and_sms/send_sms.rb +44 -0
- data/lib/wavecell_otp_and_sms/verify_otp.rb +40 -0
- data/lib/wavecell_otp_and_sms/version.rb +3 -0
- data/lib/wavecell_otp_and_sms.rb +22 -0
- data/wavecell_otp_and_sms.gemspec +32 -0
- metadata +117 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: fc051602c92a6230ca74923d5711247481c1636070ccd98a6a5af07d247e30ea
|
4
|
+
data.tar.gz: c4b3ede95d204f1ef7fae8c9855bb091dd7d383e0dd90e670d3b8c82f15275e9
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 8978cf78a63bdab762e6a6b8420c092f1ab6b155e440638ba3758576b1f5b045bf40ad2025dd66d9af20917965e9c3a12f8b5557011c5f6a40e7726f5d86786b
|
7
|
+
data.tar.gz: 99a2c1b59b97294220506350a43c29f9addda897d6e9c24f54ddbb39a02fb28a52fadd8f187cc0b12aff838bea639fc68d893c3d689b9c72e81db20507c48562
|
data/.gitignore
ADDED
data/.rspec_status
ADDED
File without changes
|
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at alejandrogacumadeguzman@gmail.com. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
wavecell_otp_and_sms (1.0.8)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: https://rubygems.org/
|
8
|
+
specs:
|
9
|
+
diff-lcs (1.3)
|
10
|
+
httparty (0.18.0)
|
11
|
+
mime-types (~> 3.0)
|
12
|
+
multi_xml (>= 0.5.2)
|
13
|
+
mime-types (3.3.1)
|
14
|
+
mime-types-data (~> 3.2015)
|
15
|
+
mime-types-data (3.2019.1009)
|
16
|
+
multi_xml (0.6.0)
|
17
|
+
rake (13.0.1)
|
18
|
+
rspec (3.9.0)
|
19
|
+
rspec-core (~> 3.9.0)
|
20
|
+
rspec-expectations (~> 3.9.0)
|
21
|
+
rspec-mocks (~> 3.9.0)
|
22
|
+
rspec-core (3.9.1)
|
23
|
+
rspec-support (~> 3.9.1)
|
24
|
+
rspec-expectations (3.9.1)
|
25
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
26
|
+
rspec-support (~> 3.9.0)
|
27
|
+
rspec-mocks (3.9.1)
|
28
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
29
|
+
rspec-support (~> 3.9.0)
|
30
|
+
rspec-support (3.9.2)
|
31
|
+
|
32
|
+
PLATFORMS
|
33
|
+
ruby
|
34
|
+
|
35
|
+
DEPENDENCIES
|
36
|
+
bundler (~> 2.0)
|
37
|
+
httparty
|
38
|
+
rake (~> 13.0)
|
39
|
+
rspec (~> 3.2)
|
40
|
+
wavecell_otp_and_sms!
|
41
|
+
|
42
|
+
BUNDLED WITH
|
43
|
+
2.1.3
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2020 Alejandro De Guzman
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Wavecell
|
2
|
+
|
3
|
+
Ruby gem wrapper for sending sms, generate OTP, verify OTP using wavecell.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem 'wavecell_otp_and_sms'
|
11
|
+
```
|
12
|
+
|
13
|
+
And then execute:
|
14
|
+
|
15
|
+
$ bundle
|
16
|
+
|
17
|
+
Or install it yourself as:
|
18
|
+
|
19
|
+
$ gem install wavecell_otp_and_sms
|
20
|
+
|
21
|
+
## Example
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
initializer.rb
|
25
|
+
# Initiate Wavecell SMS configuration by putting sub account and api key
|
26
|
+
WavecellOtpAndSms.configure do |config|
|
27
|
+
config.api_key = 'api_key'
|
28
|
+
config.sub_account = 'sub_account'
|
29
|
+
end
|
30
|
+
|
31
|
+
# Compose your message to be sent to users
|
32
|
+
@sms_config = WavecellOtpAndSms::SendSms.new(
|
33
|
+
source: 'Name of Source e.g ACME Inc.',
|
34
|
+
destination: 'Mobile Number',
|
35
|
+
text: 'Lorem Ipsum is simply dummy text',
|
36
|
+
encoding: 'AUTO'
|
37
|
+
)
|
38
|
+
|
39
|
+
# Generate OTP
|
40
|
+
@send_otp_config = WavecellOtpAndSms::SendOtp.new(
|
41
|
+
destination: 'Mobile Number',
|
42
|
+
country_code: 'PH',
|
43
|
+
product_name: 'Lorem Ipsum'
|
44
|
+
)
|
45
|
+
|
46
|
+
# Verify using UID and verification
|
47
|
+
@verify_otp_config = WavecellOtpAndSms::VerifyOtp.new(
|
48
|
+
uid: '92849238423',
|
49
|
+
code: '4454'
|
50
|
+
)
|
51
|
+
|
52
|
+
# Call .send to send the SMS
|
53
|
+
@sms_config.send
|
54
|
+
|
55
|
+
```
|
56
|
+
|
57
|
+
## Development
|
58
|
+
|
59
|
+
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
60
|
+
|
61
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
62
|
+
|
63
|
+
## Contributing
|
64
|
+
|
65
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/deguzman20/wavecell_otp_and_sms. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
66
|
+
|
67
|
+
## License
|
68
|
+
|
69
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
70
|
+
|
71
|
+
## Code of Conduct
|
72
|
+
|
73
|
+
Everyone interacting in the WavecellSms project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/deguzman20/wavecell_otp_with_sms/blob/master/CODE_OF_CONDUCT.md).
|
74
|
+
# wavecell_otp_and_sms
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "wavecell_otp_and_sms"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
require 'httparty'
|
2
|
+
|
3
|
+
module WavecellOtpAndSms
|
4
|
+
class SendOtp
|
5
|
+
include HTTParty
|
6
|
+
attr_accessor :destination, :country_code, :product_name
|
7
|
+
|
8
|
+
# Initialize OTP parameters
|
9
|
+
def initialize(options = {})
|
10
|
+
@destination = options[:destination]
|
11
|
+
@country_code = options[:country_code]
|
12
|
+
@product_name = options[:product_name]
|
13
|
+
end
|
14
|
+
|
15
|
+
# Call this to generate url for the api calls
|
16
|
+
def send
|
17
|
+
generate_url
|
18
|
+
end
|
19
|
+
|
20
|
+
private
|
21
|
+
# Construct API using the parameters and initial configuration
|
22
|
+
def generate_url
|
23
|
+
api_key = WavecellOtpAndSms.configuration.api_key
|
24
|
+
sub_account = WavecellOtpAndSms.configuration.sub_account
|
25
|
+
details = [destination, country_code, product_name]
|
26
|
+
parameters = {
|
27
|
+
destination: destination,
|
28
|
+
country_code: country_code,
|
29
|
+
product_name: product_name
|
30
|
+
}
|
31
|
+
query_string = parameters.to_a.map { |x| "#{x[0]}=#{x[1]}" }.join("&")
|
32
|
+
url = "https://api.wavecell.com/otp/v1/#{sub_account}" + "?#{query_string}"
|
33
|
+
HTTParty.post(url.to_str,
|
34
|
+
:body => parameters.to_json,
|
35
|
+
:headers => {
|
36
|
+
"Content-Type" => "application/json",
|
37
|
+
"Authorization" => "Bearer #{api_key}"
|
38
|
+
})
|
39
|
+
end
|
40
|
+
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,44 @@
|
|
1
|
+
require 'httparty'
|
2
|
+
|
3
|
+
module WavecellOtpAndSms
|
4
|
+
class SendSms
|
5
|
+
include HTTParty
|
6
|
+
attr_accessor :source, :destination, :text, :encoding
|
7
|
+
|
8
|
+
# Initialize SMS parameters to send message to api
|
9
|
+
def initialize(options = {})
|
10
|
+
@source = options[:source]
|
11
|
+
@destination = options[:destination]
|
12
|
+
@text = options[:text]
|
13
|
+
@encoding = options[:encoding]
|
14
|
+
end
|
15
|
+
|
16
|
+
# Call this to generate url for the api calls
|
17
|
+
def send
|
18
|
+
generate_url
|
19
|
+
end
|
20
|
+
|
21
|
+
private
|
22
|
+
# Construct API using the parameters and initial configuration
|
23
|
+
def generate_url
|
24
|
+
api_key = WavecellOtpAndSms.configuration.api_key
|
25
|
+
sub_account = WavecellOtpAndSms.configuration.sub_account
|
26
|
+
details = [source, destination, text, encoding]
|
27
|
+
parameters = {
|
28
|
+
source: source,
|
29
|
+
destination: destination,
|
30
|
+
text: text,
|
31
|
+
encoding: encoding
|
32
|
+
}
|
33
|
+
query_string = parameters.to_a.map { |x| "#{x[0]}=#{x[1]}" }.join("&")
|
34
|
+
url = "https://api.wavecell.com/sms/v1/#{sub_account}/single" + "?#{query_string}"
|
35
|
+
HTTParty.post(url.to_str,
|
36
|
+
:body => parameters.to_json,
|
37
|
+
:headers => {
|
38
|
+
"Content-Type" => "application/json",
|
39
|
+
"Authorization" => "Bearer #{api_key}"
|
40
|
+
})
|
41
|
+
end
|
42
|
+
|
43
|
+
end
|
44
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
require 'httparty'
|
2
|
+
|
3
|
+
module WavecellOtpAndSms
|
4
|
+
class VerifyOtp
|
5
|
+
include HTTParty
|
6
|
+
attr_accessor :uid, :code
|
7
|
+
|
8
|
+
# Initialize OTP parameters
|
9
|
+
def initialize(options = {})
|
10
|
+
@uid = options[:uid]
|
11
|
+
@code = options[:code]
|
12
|
+
end
|
13
|
+
|
14
|
+
# Call this to generate url for the api calls
|
15
|
+
def send
|
16
|
+
generate_url
|
17
|
+
end
|
18
|
+
|
19
|
+
private
|
20
|
+
# Construct API using the parameters and initial configuration
|
21
|
+
def generate_url
|
22
|
+
api_key = WavecellOtpAndSms.configuration.api_key
|
23
|
+
sub_account = WavecellOtpAndSms.configuration.sub_account
|
24
|
+
details = [uid, code]
|
25
|
+
parameters = {
|
26
|
+
uid: uid,
|
27
|
+
code: code
|
28
|
+
}
|
29
|
+
query_string = parameters.to_a.map { |x| "#{x[0]}=#{x[1]}" }.join("&")
|
30
|
+
url = "https://api.wavecell.com/otp/v1/#{sub_account}/#{uid}?code=#{code}"
|
31
|
+
HTTParty.get(url.to_str,
|
32
|
+
:body => parameters.to_json,
|
33
|
+
:headers => {
|
34
|
+
"Content-Type" => "application/json",
|
35
|
+
"Authorization" => "Bearer #{api_key}"
|
36
|
+
})
|
37
|
+
end
|
38
|
+
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
require "wavecell_otp_and_sms/version"
|
2
|
+
require "wavecell_otp_and_sms/configuration"
|
3
|
+
require "wavecell_otp_and_sms/send_sms"
|
4
|
+
require "wavecell_otp_and_sms/send_otp"
|
5
|
+
require "wavecell_otp_and_sms/verify_otp"
|
6
|
+
|
7
|
+
|
8
|
+
module WavecellOtpAndSms
|
9
|
+
class Error < StandardError; end
|
10
|
+
|
11
|
+
class << self
|
12
|
+
attr_accessor :configuration
|
13
|
+
end
|
14
|
+
|
15
|
+
def self.configuration
|
16
|
+
@configuration ||= Configuration.new
|
17
|
+
end
|
18
|
+
|
19
|
+
def self.configure
|
20
|
+
yield configuration
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
lib = File.expand_path("lib", __dir__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
require "wavecell_otp_and_sms/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "wavecell_otp_and_sms"
|
7
|
+
spec.version = WavecellOtpAndSms::VERSION
|
8
|
+
spec.authors = ["Alejandro De Guzman"]
|
9
|
+
spec.email = ["alejandrogacumadeguzman@gmail.com"]
|
10
|
+
|
11
|
+
spec.summary = "API integration for processing bulk SMS with wavecell."
|
12
|
+
spec.description = "Process your SMS notifications using Wavecell API"
|
13
|
+
spec.homepage = "https://github.com/deguzman20/wavecell_otp_and_sms"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
17
|
+
|
18
|
+
# Specify which files should be added to the gem when it is released.
|
19
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
20
|
+
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
21
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
22
|
+
end
|
23
|
+
spec.bindir = "exe"
|
24
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
25
|
+
spec.require_paths = ["lib"]
|
26
|
+
|
27
|
+
spec.add_development_dependency "bundler", "~> 2.0"
|
28
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
29
|
+
spec.add_development_dependency "rspec", "~> 3.2"
|
30
|
+
spec.add_development_dependency "httparty"
|
31
|
+
# spec.add_development_dependency "pry", "~> 1.0"
|
32
|
+
end
|
metadata
ADDED
@@ -0,0 +1,117 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: wavecell_otp_and_sms
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.8
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Alejandro De Guzman
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-03-15 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '2.0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '2.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '13.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '13.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.2'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.2'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: httparty
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
description: Process your SMS notifications using Wavecell API
|
70
|
+
email:
|
71
|
+
- alejandrogacumadeguzman@gmail.com
|
72
|
+
executables: []
|
73
|
+
extensions: []
|
74
|
+
extra_rdoc_files: []
|
75
|
+
files:
|
76
|
+
- ".gitignore"
|
77
|
+
- ".rspec_status"
|
78
|
+
- CODE_OF_CONDUCT.md
|
79
|
+
- Gemfile
|
80
|
+
- Gemfile.lock
|
81
|
+
- LICENSE.txt
|
82
|
+
- README.md
|
83
|
+
- Rakefile
|
84
|
+
- bin/console
|
85
|
+
- bin/setup
|
86
|
+
- lib/wavecell_otp_and_sms.rb
|
87
|
+
- lib/wavecell_otp_and_sms/configuration.rb
|
88
|
+
- lib/wavecell_otp_and_sms/send_otp.rb
|
89
|
+
- lib/wavecell_otp_and_sms/send_sms.rb
|
90
|
+
- lib/wavecell_otp_and_sms/verify_otp.rb
|
91
|
+
- lib/wavecell_otp_and_sms/version.rb
|
92
|
+
- wavecell_otp_and_sms.gemspec
|
93
|
+
homepage: https://github.com/deguzman20/wavecell_otp_and_sms
|
94
|
+
licenses:
|
95
|
+
- MIT
|
96
|
+
metadata:
|
97
|
+
homepage_uri: https://github.com/deguzman20/wavecell_otp_and_sms
|
98
|
+
post_install_message:
|
99
|
+
rdoc_options: []
|
100
|
+
require_paths:
|
101
|
+
- lib
|
102
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
103
|
+
requirements:
|
104
|
+
- - ">="
|
105
|
+
- !ruby/object:Gem::Version
|
106
|
+
version: '0'
|
107
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - ">="
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: '0'
|
112
|
+
requirements: []
|
113
|
+
rubygems_version: 3.1.2
|
114
|
+
signing_key:
|
115
|
+
specification_version: 4
|
116
|
+
summary: API integration for processing bulk SMS with wavecell.
|
117
|
+
test_files: []
|