engagespark_client 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +13 -0
- data/.rspec +3 -0
- data/.travis.yml +7 -0
- data/CHANGELOG.md +8 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +8 -0
- data/Gemfile.lock +104 -0
- data/LICENSE.txt +21 -0
- data/README.md +60 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/engagespark_client.gemspec +39 -0
- data/lib/engagespark_client.rb +23 -0
- data/lib/engagespark_client/client.rb +14 -0
- data/lib/engagespark_client/requests/send_sms_request.rb +31 -0
- data/lib/engagespark_client/responses/send_sms_response.rb +20 -0
- data/lib/engagespark_client/version.rb +3 -0
- metadata +177 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 75bdb976f67e5fd0cebc4ec79abcded8177ca65e78b569d64293b670881beaad
|
4
|
+
data.tar.gz: 1be77429cb1176aca6fcccca3ab8aea9de7c84a94834ae20125a42f5bcff2920
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 6e79a9ea1acb1c43a41aa5e1054a9d86e9b9b0d81a00381c70d79de0264206b83b5ddb9dafc6f1691ff722b434039de7e119ad9cac9d5d90f12d7ed9abbddc77
|
7
|
+
data.tar.gz: d4c722a54fd227af2a0e90ef1a1d22c378fc8e1c81d5c2d9325c8a0c48234e10a4589412686f24a0694588ae14f12281fa295188638b30c240e0c4d7fce186da
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/CHANGELOG.md
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
# Changelog
|
2
|
+
All notable changes to this project will be documented in this file.
|
3
|
+
|
4
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
5
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
6
|
+
|
7
|
+
## [Unreleased]
|
8
|
+
- Initial version. Only phonenumber API supported
|
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 ramon.tayag@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,104 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
engagespark_client (0.1.0)
|
5
|
+
activesupport (>= 5.0)
|
6
|
+
api_client_base (~> 1.0)
|
7
|
+
typhoeus (~> 1.0)
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: https://rubygems.org/
|
11
|
+
specs:
|
12
|
+
activesupport (6.0.2.1)
|
13
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
14
|
+
i18n (>= 0.7, < 2)
|
15
|
+
minitest (~> 5.1)
|
16
|
+
tzinfo (~> 1.1)
|
17
|
+
zeitwerk (~> 2.2)
|
18
|
+
addressable (2.7.0)
|
19
|
+
public_suffix (>= 2.0.2, < 5.0)
|
20
|
+
api_client_base (1.5.0)
|
21
|
+
activesupport (>= 3.0)
|
22
|
+
gem_config (>= 0.3.1)
|
23
|
+
virtus (>= 1.0)
|
24
|
+
axiom-types (0.1.1)
|
25
|
+
descendants_tracker (~> 0.0.4)
|
26
|
+
ice_nine (~> 0.11.0)
|
27
|
+
thread_safe (~> 0.3, >= 0.3.1)
|
28
|
+
byebug (11.0.1)
|
29
|
+
coderay (1.1.2)
|
30
|
+
coercible (1.0.0)
|
31
|
+
descendants_tracker (~> 0.0.1)
|
32
|
+
concurrent-ruby (1.1.5)
|
33
|
+
crack (0.4.3)
|
34
|
+
safe_yaml (~> 1.0.0)
|
35
|
+
descendants_tracker (0.0.4)
|
36
|
+
thread_safe (~> 0.3, >= 0.3.1)
|
37
|
+
diff-lcs (1.3)
|
38
|
+
equalizer (0.0.11)
|
39
|
+
ethon (0.12.0)
|
40
|
+
ffi (>= 1.3.0)
|
41
|
+
ffi (1.12.1)
|
42
|
+
gem_config (0.3.2)
|
43
|
+
hashdiff (1.0.0)
|
44
|
+
i18n (1.8.2)
|
45
|
+
concurrent-ruby (~> 1.0)
|
46
|
+
ice_nine (0.11.2)
|
47
|
+
method_source (0.9.2)
|
48
|
+
minitest (5.14.0)
|
49
|
+
pry (0.12.2)
|
50
|
+
coderay (~> 1.1.0)
|
51
|
+
method_source (~> 0.9.0)
|
52
|
+
pry-byebug (3.7.0)
|
53
|
+
byebug (~> 11.0)
|
54
|
+
pry (~> 0.10)
|
55
|
+
public_suffix (4.0.3)
|
56
|
+
rake (10.5.0)
|
57
|
+
rspec (3.9.0)
|
58
|
+
rspec-core (~> 3.9.0)
|
59
|
+
rspec-expectations (~> 3.9.0)
|
60
|
+
rspec-mocks (~> 3.9.0)
|
61
|
+
rspec-core (3.9.1)
|
62
|
+
rspec-support (~> 3.9.1)
|
63
|
+
rspec-expectations (3.9.0)
|
64
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
65
|
+
rspec-support (~> 3.9.0)
|
66
|
+
rspec-mocks (3.9.1)
|
67
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
68
|
+
rspec-support (~> 3.9.0)
|
69
|
+
rspec-support (3.9.2)
|
70
|
+
safe_yaml (1.0.5)
|
71
|
+
thread_safe (0.3.6)
|
72
|
+
typhoeus (1.3.1)
|
73
|
+
ethon (>= 0.9.0)
|
74
|
+
tzinfo (1.2.6)
|
75
|
+
thread_safe (~> 0.1)
|
76
|
+
vcr (5.0.0)
|
77
|
+
virtus (1.0.5)
|
78
|
+
axiom-types (~> 0.1)
|
79
|
+
coercible (~> 1.0)
|
80
|
+
descendants_tracker (~> 0.0, >= 0.0.3)
|
81
|
+
equalizer (~> 0.0, >= 0.0.9)
|
82
|
+
webmock (3.8.0)
|
83
|
+
addressable (>= 2.3.6)
|
84
|
+
crack (>= 0.3.2)
|
85
|
+
hashdiff (>= 0.4.0, < 2.0.0)
|
86
|
+
zeitwerk (2.2.2)
|
87
|
+
|
88
|
+
PLATFORMS
|
89
|
+
ruby
|
90
|
+
|
91
|
+
DEPENDENCIES
|
92
|
+
bundler (~> 2.0)
|
93
|
+
engagespark_client!
|
94
|
+
pry-byebug
|
95
|
+
rake (~> 10.0)
|
96
|
+
rspec (~> 3.0)
|
97
|
+
vcr (~> 5.0)
|
98
|
+
webmock (~> 3.8)
|
99
|
+
|
100
|
+
RUBY VERSION
|
101
|
+
ruby 2.6.3p62
|
102
|
+
|
103
|
+
BUNDLED WITH
|
104
|
+
2.0.2
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2020 Ramon Tayag
|
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,60 @@
|
|
1
|
+
# EngagesparkClient
|
2
|
+
|
3
|
+
Ruby wrapper for the engageSPARK API.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem 'engagespark_client'
|
11
|
+
```
|
12
|
+
|
13
|
+
And then execute:
|
14
|
+
|
15
|
+
$ bundle
|
16
|
+
|
17
|
+
Or install it yourself as:
|
18
|
+
|
19
|
+
$ gem install engagespark_client
|
20
|
+
|
21
|
+
## Usage
|
22
|
+
|
23
|
+
```
|
24
|
+
client = EngagesparkClient.new(token: "YOUR-TOKEN", org_id: 321)
|
25
|
+
client.send_sms(
|
26
|
+
to: "639181234567",
|
27
|
+
message: "Hello, world!",
|
28
|
+
)
|
29
|
+
|
30
|
+
response.error # an error message in the response, if any
|
31
|
+
response.message_id # "SMS20200124T085255-123-4567"
|
32
|
+
response.estimate_parts # 1
|
33
|
+
response.estimate_micro # 20000
|
34
|
+
response.estimate # "0.02"
|
35
|
+
response.delivery_deadline # "2020-01-25T08:52:55.75319741Z"
|
36
|
+
response.contact_id # 0
|
37
|
+
response.to # "639181234567"
|
38
|
+
response.message # "Hello, world!"
|
39
|
+
```
|
40
|
+
|
41
|
+
See `spec/acceptance` for usage.
|
42
|
+
|
43
|
+
## Development
|
44
|
+
|
45
|
+
- `cp spec/config{.sample,}.yml`
|
46
|
+
- Edit `spec/config.yml` with your own settings
|
47
|
+
- Make changes
|
48
|
+
- `rspec spec`
|
49
|
+
|
50
|
+
## Contributing
|
51
|
+
|
52
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/bloom-solutions/engagespark_client-ruby. 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.
|
53
|
+
|
54
|
+
## License
|
55
|
+
|
56
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
57
|
+
|
58
|
+
## Code of Conduct
|
59
|
+
|
60
|
+
Everyone interacting in the EngagesparkClient project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/bloom-solutions/engagespark_client-ruby/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "engagespark_client"
|
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,39 @@
|
|
1
|
+
lib = File.expand_path("lib", __dir__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
require "engagespark_client/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "engagespark_client"
|
7
|
+
spec.version = EngagesparkClient::VERSION
|
8
|
+
spec.authors = ["Ramon Tayag"]
|
9
|
+
spec.email = ["ramon.tayag@gmail.com"]
|
10
|
+
|
11
|
+
spec.summary = %q{Ruby wrapper for the engageSPARK API.}
|
12
|
+
spec.homepage = "https://github.com/bloom-solutions/engagespark_client-ruby"
|
13
|
+
spec.license = "MIT"
|
14
|
+
|
15
|
+
spec.metadata["allowed_push_host"] = "https://rubygems.org"
|
16
|
+
|
17
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
18
|
+
spec.metadata["source_code_uri"] = "https://github.com/bloom-solutions/engagespark_client-ruby"
|
19
|
+
spec.metadata["changelog_uri"] = "https://github.com/bloom-solutions/engagespark_client-ruby/blob/master/CHANGELOG.md"
|
20
|
+
|
21
|
+
# Specify which files should be added to the gem when it is released.
|
22
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
23
|
+
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
24
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
25
|
+
end
|
26
|
+
spec.bindir = "exe"
|
27
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
28
|
+
spec.require_paths = ["lib"]
|
29
|
+
|
30
|
+
spec.add_development_dependency "bundler", "~> 2.0"
|
31
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
32
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
33
|
+
spec.add_development_dependency "vcr", "~> 5.0"
|
34
|
+
spec.add_development_dependency "webmock", "~> 3.8"
|
35
|
+
|
36
|
+
spec.add_runtime_dependency "api_client_base", "~> 1.0"
|
37
|
+
spec.add_runtime_dependency "activesupport", ">= 5.0"
|
38
|
+
spec.add_runtime_dependency "typhoeus", "~> 1.0"
|
39
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
require "engagespark_client/version"
|
2
|
+
require "api_client_base"
|
3
|
+
require "active_support/core_ext/string/inflections"
|
4
|
+
require "active_support/core_ext/hash/indifferent_access"
|
5
|
+
require "pathname"
|
6
|
+
|
7
|
+
module EngagesparkClient
|
8
|
+
class Error < StandardError; end
|
9
|
+
|
10
|
+
include APIClientBase::Base.module
|
11
|
+
|
12
|
+
with_configuration do
|
13
|
+
has :host, classes: String, default: "https://api.engagespark.com"
|
14
|
+
has :token, classes: String
|
15
|
+
has :org_id, classes: Integer
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
require "engagespark_client/client"
|
20
|
+
lib_dir = Pathname.new(File.dirname(__FILE__))
|
21
|
+
Dir[lib_dir.join("engagespark_client", "**", "*.rb")].each do |file|
|
22
|
+
require file
|
23
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
module EngagesparkClient
|
2
|
+
class SendSmsRequest
|
3
|
+
|
4
|
+
include APIClientBase::Request.module(action: :post)
|
5
|
+
attribute :token, String
|
6
|
+
attribute :org_id, Integer
|
7
|
+
attribute :to, String
|
8
|
+
attribute :from, String
|
9
|
+
attribute :message, String
|
10
|
+
|
11
|
+
private
|
12
|
+
|
13
|
+
def headers
|
14
|
+
{
|
15
|
+
"Content-Type" => "application/json",
|
16
|
+
"Authorization" => "Token #{token}"
|
17
|
+
}
|
18
|
+
end
|
19
|
+
|
20
|
+
def path
|
21
|
+
"/v1/sms/phonenumber"
|
22
|
+
end
|
23
|
+
|
24
|
+
def body
|
25
|
+
%i[org_id to from message].each_with_object({}) do |attr, hash|
|
26
|
+
hash[attr.to_s.camelize(:lower)] = send(attr)
|
27
|
+
end.to_json
|
28
|
+
end
|
29
|
+
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module EngagesparkClient
|
2
|
+
class SendSmsResponse
|
3
|
+
|
4
|
+
include APIClientBase::Response.module
|
5
|
+
|
6
|
+
attribute :error, String, lazy: true, default: :default_error
|
7
|
+
attribute :message_id, String, lazy: true, default: :default_message_id
|
8
|
+
attribute(:estimate_parts, Integer, {
|
9
|
+
lazy: true,
|
10
|
+
default: :default_estimate_parts,
|
11
|
+
})
|
12
|
+
attribute :estimate_micro, Integer, lazy: true, default: :default_estimate_micro
|
13
|
+
attribute :estimate, Decimal, lazy: true, default: :default_estimate
|
14
|
+
attribute :delivery_deadline, DateTime, lazy: true, default: :default_delivery_deadline
|
15
|
+
attribute :contact_id, Integer, lazy: true, default: :default_contact_id
|
16
|
+
attribute :to, String, lazy: true, default: :default_to
|
17
|
+
attribute :message, String, lazy: true, default: :default_message
|
18
|
+
|
19
|
+
end
|
20
|
+
end
|
metadata
ADDED
@@ -0,0 +1,177 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: engagespark_client
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Ramon Tayag
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-01-30 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: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.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.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: vcr
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '5.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '5.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: webmock
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '3.8'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '3.8'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: api_client_base
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1.0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '1.0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: activesupport
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '5.0'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '5.0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: typhoeus
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '1.0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '1.0'
|
125
|
+
description:
|
126
|
+
email:
|
127
|
+
- ramon.tayag@gmail.com
|
128
|
+
executables: []
|
129
|
+
extensions: []
|
130
|
+
extra_rdoc_files: []
|
131
|
+
files:
|
132
|
+
- ".gitignore"
|
133
|
+
- ".rspec"
|
134
|
+
- ".travis.yml"
|
135
|
+
- CHANGELOG.md
|
136
|
+
- CODE_OF_CONDUCT.md
|
137
|
+
- Gemfile
|
138
|
+
- Gemfile.lock
|
139
|
+
- LICENSE.txt
|
140
|
+
- README.md
|
141
|
+
- Rakefile
|
142
|
+
- bin/console
|
143
|
+
- bin/setup
|
144
|
+
- engagespark_client.gemspec
|
145
|
+
- lib/engagespark_client.rb
|
146
|
+
- lib/engagespark_client/client.rb
|
147
|
+
- lib/engagespark_client/requests/send_sms_request.rb
|
148
|
+
- lib/engagespark_client/responses/send_sms_response.rb
|
149
|
+
- lib/engagespark_client/version.rb
|
150
|
+
homepage: https://github.com/bloom-solutions/engagespark_client-ruby
|
151
|
+
licenses:
|
152
|
+
- MIT
|
153
|
+
metadata:
|
154
|
+
allowed_push_host: https://rubygems.org
|
155
|
+
homepage_uri: https://github.com/bloom-solutions/engagespark_client-ruby
|
156
|
+
source_code_uri: https://github.com/bloom-solutions/engagespark_client-ruby
|
157
|
+
changelog_uri: https://github.com/bloom-solutions/engagespark_client-ruby/blob/master/CHANGELOG.md
|
158
|
+
post_install_message:
|
159
|
+
rdoc_options: []
|
160
|
+
require_paths:
|
161
|
+
- lib
|
162
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
168
|
+
requirements:
|
169
|
+
- - ">="
|
170
|
+
- !ruby/object:Gem::Version
|
171
|
+
version: '0'
|
172
|
+
requirements: []
|
173
|
+
rubygems_version: 3.0.6
|
174
|
+
signing_key:
|
175
|
+
specification_version: 4
|
176
|
+
summary: Ruby wrapper for the engageSPARK API.
|
177
|
+
test_files: []
|