fub_client 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/.rspec +2 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +49 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +66 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/fub_client.gemspec +42 -0
- data/lib/fub_client.rb +29 -0
- data/lib/fub_client/action_plan.rb +5 -0
- data/lib/fub_client/call.rb +4 -0
- data/lib/fub_client/client.rb +40 -0
- data/lib/fub_client/custom_field.rb +5 -0
- data/lib/fub_client/em_event.rb +5 -0
- data/lib/fub_client/email_template.rb +5 -0
- data/lib/fub_client/event.rb +8 -0
- data/lib/fub_client/middleware.rb +7 -0
- data/lib/fub_client/middleware/authentication.rb +11 -0
- data/lib/fub_client/middleware/parser.rb +22 -0
- data/lib/fub_client/note.rb +4 -0
- data/lib/fub_client/person.rb +5 -0
- data/lib/fub_client/resource.rb +14 -0
- data/lib/fub_client/smart_list.rb +5 -0
- data/lib/fub_client/user.rb +4 -0
- data/lib/fub_client/version.rb +3 -0
- metadata +221 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 315cc504513f58a683db315daaa20e2ed4dff69a
|
4
|
+
data.tar.gz: 12b2610af24a05026ca8a92ce3c9ecab9d4668db
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 892188adcfcc9e85beb97413fc9b2ff7bac43c9ef5f2140950b85ab4649c9e3b6bf4f9e00f56d21471568cda18835c9828ecdd7e5b14e699d2a3aa94e94ebd99
|
7
|
+
data.tar.gz: d1fcbeda8485b06e8b480c02e5cdaac253685d46b7d141ee4a1807cd6aa6286d6f8d1b5451c42ca5ad6595b7c0e05e6bb90cf099e36b53a50ecae866db443e3a
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.ruby-gemset
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
fub_client
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby-2.3.1
|
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
# Contributor Code of Conduct
|
2
|
+
|
3
|
+
As contributors and maintainers of this project, and in the interest of
|
4
|
+
fostering an open and welcoming community, we pledge to respect all people who
|
5
|
+
contribute through reporting issues, posting feature requests, updating
|
6
|
+
documentation, submitting pull requests or patches, and other activities.
|
7
|
+
|
8
|
+
We are committed to making participation in this project a harassment-free
|
9
|
+
experience for everyone, regardless of level of experience, gender, gender
|
10
|
+
identity and expression, sexual orientation, disability, personal appearance,
|
11
|
+
body size, race, ethnicity, age, religion, or nationality.
|
12
|
+
|
13
|
+
Examples of unacceptable behavior by participants include:
|
14
|
+
|
15
|
+
* The use of sexualized language or imagery
|
16
|
+
* Personal attacks
|
17
|
+
* Trolling or insulting/derogatory comments
|
18
|
+
* Public or private harassment
|
19
|
+
* Publishing other's private information, such as physical or electronic
|
20
|
+
addresses, without explicit permission
|
21
|
+
* Other unethical or unprofessional conduct
|
22
|
+
|
23
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
24
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
25
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
26
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
27
|
+
threatening, offensive, or harmful.
|
28
|
+
|
29
|
+
By adopting this Code of Conduct, project maintainers commit themselves to
|
30
|
+
fairly and consistently applying these principles to every aspect of managing
|
31
|
+
this project. Project maintainers who do not follow or enforce the Code of
|
32
|
+
Conduct may be permanently removed from the project team.
|
33
|
+
|
34
|
+
This code of conduct applies both within project spaces and in public spaces
|
35
|
+
when an individual is representing the project or its community.
|
36
|
+
|
37
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
38
|
+
reported by contacting a project maintainer at kopz9999@gmail.com. All
|
39
|
+
complaints will be reviewed and investigated and will result in a response that
|
40
|
+
is deemed necessary and appropriate to the circumstances. Maintainers are
|
41
|
+
obligated to maintain confidentiality with regard to the reporter of an
|
42
|
+
incident.
|
43
|
+
|
44
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
45
|
+
version 1.3.0, available at
|
46
|
+
[http://contributor-covenant.org/version/1/3/0/][version]
|
47
|
+
|
48
|
+
[homepage]: http://contributor-covenant.org
|
49
|
+
[version]: http://contributor-covenant.org/version/1/3/0/
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2016 Kyoto Kopz
|
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,66 @@
|
|
1
|
+
# FubClient
|
2
|
+
|
3
|
+
This gem is a Ruby Client for [Follow Up Boss API](https://api.followupboss.com/api-documentation/)
|
4
|
+
For more information about Follow Up Boss go to [www.followupboss.com](www.followupboss.com)
|
5
|
+
|
6
|
+
## Installation
|
7
|
+
|
8
|
+
Add this line to your application's Gemfile:
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
gem 'fub_client', '0.1.1'
|
12
|
+
```
|
13
|
+
|
14
|
+
And then execute:
|
15
|
+
|
16
|
+
$ bundle
|
17
|
+
|
18
|
+
Or install it yourself as:
|
19
|
+
|
20
|
+
$ gem install fub_client
|
21
|
+
|
22
|
+
## Usage
|
23
|
+
|
24
|
+
After installing the gem, you can start consuming FUB resources as Rails like
|
25
|
+
models with shorthand methods based on [Her](https://github.com/remiprev/her)
|
26
|
+
models:
|
27
|
+
|
28
|
+
```ruby
|
29
|
+
# Get one event
|
30
|
+
event = FubClient::Event.find 12
|
31
|
+
|
32
|
+
# Paginate (offset calculated)
|
33
|
+
persons = FubClient::Person.by_page 2, 10
|
34
|
+
# => Her::Model::Relation<Person>
|
35
|
+
|
36
|
+
# Total (from all records)
|
37
|
+
total = FubClient::EmailTemplate.total
|
38
|
+
# => 323
|
39
|
+
```
|
40
|
+
|
41
|
+
Put your API key in an environment variable named FUB_API_KEY:
|
42
|
+
```bash
|
43
|
+
$ export FUB_API_KEY=your_key
|
44
|
+
```
|
45
|
+
|
46
|
+
Or set it up via the client instance:
|
47
|
+
|
48
|
+
```ruby
|
49
|
+
FubClient::Client.instance.api_key = 'your_key'
|
50
|
+
```
|
51
|
+
|
52
|
+
## Development
|
53
|
+
|
54
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
55
|
+
|
56
|
+
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).
|
57
|
+
|
58
|
+
## Contributing
|
59
|
+
|
60
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/fub_client. 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.
|
61
|
+
|
62
|
+
|
63
|
+
## License
|
64
|
+
|
65
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
66
|
+
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "fub_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
|
data/bin/setup
ADDED
data/fub_client.gemspec
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'fub_client/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "fub_client"
|
8
|
+
spec.version = FubClient::VERSION
|
9
|
+
spec.authors = ["Kyoto Kopz"]
|
10
|
+
spec.email = ["kopz9999@gmail.com"]
|
11
|
+
|
12
|
+
spec.summary = 'Ruby client for Follow Up Boss API http://www.followupboss.com'
|
13
|
+
# spec.description = %q{TODO: Write a longer description or delete this line.}
|
14
|
+
spec.homepage = "https://github.com/kopz9999/fub_client"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
18
|
+
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
19
|
+
if spec.respond_to?(:metadata)
|
20
|
+
spec.metadata['allowed_push_host'] = "https://rubygems.org"
|
21
|
+
else
|
22
|
+
raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
|
23
|
+
end
|
24
|
+
|
25
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
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_dependency "her", "~> 0.8.1"
|
31
|
+
spec.add_dependency "faraday", ">= 0.8", '<= 0.9.2'
|
32
|
+
spec.add_dependency "facets", '>= 3.0.0'
|
33
|
+
|
34
|
+
# Developemnt
|
35
|
+
spec.add_development_dependency "bundler", "~> 1.12"
|
36
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
37
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
38
|
+
spec.add_development_dependency "dotenv", '>= 2.1.1'
|
39
|
+
spec.add_development_dependency "vcr", '>= 3.0.3'
|
40
|
+
spec.add_development_dependency "webmock", '>= 2.1.0'
|
41
|
+
spec.add_development_dependency "pry", ">= 0.10.3"
|
42
|
+
end
|
data/lib/fub_client.rb
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# Libs
|
2
|
+
require 'base64'
|
3
|
+
require 'singleton'
|
4
|
+
require 'faraday'
|
5
|
+
require 'her'
|
6
|
+
require 'facets/string/snakecase'
|
7
|
+
|
8
|
+
# App
|
9
|
+
require "fub_client/version"
|
10
|
+
require "fub_client/client"
|
11
|
+
require "fub_client/middleware"
|
12
|
+
require "fub_client/resource"
|
13
|
+
# App Models
|
14
|
+
require "fub_client/event"
|
15
|
+
require "fub_client/person"
|
16
|
+
require "fub_client/note"
|
17
|
+
require "fub_client/call"
|
18
|
+
require "fub_client/user"
|
19
|
+
require "fub_client/smart_list"
|
20
|
+
require "fub_client/email_template"
|
21
|
+
require "fub_client/action_plan"
|
22
|
+
require "fub_client/em_event"
|
23
|
+
require "fub_client/custom_field"
|
24
|
+
|
25
|
+
module FubClient
|
26
|
+
def self.root
|
27
|
+
File.expand_path '../..', __FILE__
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
module FubClient
|
2
|
+
class Client
|
3
|
+
API_URL = 'api.followupboss.com'
|
4
|
+
API_VERSION = 'v1'
|
5
|
+
|
6
|
+
include Singleton
|
7
|
+
|
8
|
+
attr_writer :api_key
|
9
|
+
attr_reader :her_api
|
10
|
+
|
11
|
+
def initialize
|
12
|
+
init_her_api
|
13
|
+
end
|
14
|
+
|
15
|
+
def api_key
|
16
|
+
@api_key ||= ENV['FUB_API_KEY']
|
17
|
+
end
|
18
|
+
|
19
|
+
def api_uri
|
20
|
+
@api_uri ||= URI::HTTPS.build(host: API_URL, path: "/#{API_VERSION}")
|
21
|
+
end
|
22
|
+
|
23
|
+
private
|
24
|
+
|
25
|
+
def init_her_api
|
26
|
+
@her_api = Her::API.new
|
27
|
+
@her_api.setup url: self.api_uri.to_s do |c|
|
28
|
+
# Request
|
29
|
+
c.use FubClient::Middleware::Authentication
|
30
|
+
c.use Faraday::Request::UrlEncoded
|
31
|
+
|
32
|
+
# Response
|
33
|
+
c.use FubClient::Middleware::Parser
|
34
|
+
|
35
|
+
# Adapter
|
36
|
+
c.use Faraday::Adapter::NetHttp
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
module FubClient
|
2
|
+
module Middleware
|
3
|
+
class Authentication < Faraday::Middleware
|
4
|
+
def call(env)
|
5
|
+
env[:request_headers]["Authorization"] = "Basic " +
|
6
|
+
Base64.strict_encode64("#{FubClient::Client.instance.api_key}:")
|
7
|
+
@app.call(env)
|
8
|
+
end
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
module FubClient
|
2
|
+
module Middleware
|
3
|
+
class Parser < Faraday::Response::Middleware
|
4
|
+
|
5
|
+
def on_complete(env)
|
6
|
+
original_json = MultiJson.load(env[:body])
|
7
|
+
json = original_json.deep_transform_keys{ |k| k.to_s.snakecase.to_sym }
|
8
|
+
metadata = json[:_metadata]
|
9
|
+
if metadata.nil?
|
10
|
+
result = json
|
11
|
+
else
|
12
|
+
result = json[metadata[:collection].snakecase.to_sym]
|
13
|
+
end
|
14
|
+
env[:body] = {
|
15
|
+
data: result,
|
16
|
+
errors: json[:errors],
|
17
|
+
metadata: metadata
|
18
|
+
}
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
module FubClient
|
2
|
+
class Resource
|
3
|
+
include Her::Model
|
4
|
+
use_api FubClient::Client.instance.her_api
|
5
|
+
|
6
|
+
scope :by_page, -> (page, per_page) {
|
7
|
+
where(offset: (page - 1)*per_page, limit: per_page)
|
8
|
+
}
|
9
|
+
|
10
|
+
def self.total
|
11
|
+
by_page(1, 1).metadata[:total]
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
metadata
ADDED
@@ -0,0 +1,221 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: fub_client
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Kyoto Kopz
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-07-31 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: her
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.8.1
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.8.1
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: faraday
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0.8'
|
34
|
+
- - "<="
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: 0.9.2
|
37
|
+
type: :runtime
|
38
|
+
prerelease: false
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0.8'
|
44
|
+
- - "<="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 0.9.2
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: facets
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 3.0.0
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 3.0.0
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: bundler
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - "~>"
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '1.12'
|
68
|
+
type: :development
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - "~>"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '1.12'
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: rake
|
77
|
+
requirement: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - "~>"
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '10.0'
|
82
|
+
type: :development
|
83
|
+
prerelease: false
|
84
|
+
version_requirements: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - "~>"
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '10.0'
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: rspec
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - "~>"
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '3.0'
|
96
|
+
type: :development
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - "~>"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '3.0'
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: dotenv
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - ">="
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: 2.1.1
|
110
|
+
type: :development
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - ">="
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: 2.1.1
|
117
|
+
- !ruby/object:Gem::Dependency
|
118
|
+
name: vcr
|
119
|
+
requirement: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - ">="
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: 3.0.3
|
124
|
+
type: :development
|
125
|
+
prerelease: false
|
126
|
+
version_requirements: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - ">="
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: 3.0.3
|
131
|
+
- !ruby/object:Gem::Dependency
|
132
|
+
name: webmock
|
133
|
+
requirement: !ruby/object:Gem::Requirement
|
134
|
+
requirements:
|
135
|
+
- - ">="
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
version: 2.1.0
|
138
|
+
type: :development
|
139
|
+
prerelease: false
|
140
|
+
version_requirements: !ruby/object:Gem::Requirement
|
141
|
+
requirements:
|
142
|
+
- - ">="
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: 2.1.0
|
145
|
+
- !ruby/object:Gem::Dependency
|
146
|
+
name: pry
|
147
|
+
requirement: !ruby/object:Gem::Requirement
|
148
|
+
requirements:
|
149
|
+
- - ">="
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
version: 0.10.3
|
152
|
+
type: :development
|
153
|
+
prerelease: false
|
154
|
+
version_requirements: !ruby/object:Gem::Requirement
|
155
|
+
requirements:
|
156
|
+
- - ">="
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: 0.10.3
|
159
|
+
description:
|
160
|
+
email:
|
161
|
+
- kopz9999@gmail.com
|
162
|
+
executables: []
|
163
|
+
extensions: []
|
164
|
+
extra_rdoc_files: []
|
165
|
+
files:
|
166
|
+
- ".gitignore"
|
167
|
+
- ".rspec"
|
168
|
+
- ".ruby-gemset"
|
169
|
+
- ".ruby-version"
|
170
|
+
- ".travis.yml"
|
171
|
+
- CODE_OF_CONDUCT.md
|
172
|
+
- Gemfile
|
173
|
+
- LICENSE.txt
|
174
|
+
- README.md
|
175
|
+
- Rakefile
|
176
|
+
- bin/console
|
177
|
+
- bin/setup
|
178
|
+
- fub_client.gemspec
|
179
|
+
- lib/fub_client.rb
|
180
|
+
- lib/fub_client/action_plan.rb
|
181
|
+
- lib/fub_client/call.rb
|
182
|
+
- lib/fub_client/client.rb
|
183
|
+
- lib/fub_client/custom_field.rb
|
184
|
+
- lib/fub_client/em_event.rb
|
185
|
+
- lib/fub_client/email_template.rb
|
186
|
+
- lib/fub_client/event.rb
|
187
|
+
- lib/fub_client/middleware.rb
|
188
|
+
- lib/fub_client/middleware/authentication.rb
|
189
|
+
- lib/fub_client/middleware/parser.rb
|
190
|
+
- lib/fub_client/note.rb
|
191
|
+
- lib/fub_client/person.rb
|
192
|
+
- lib/fub_client/resource.rb
|
193
|
+
- lib/fub_client/smart_list.rb
|
194
|
+
- lib/fub_client/user.rb
|
195
|
+
- lib/fub_client/version.rb
|
196
|
+
homepage: https://github.com/kopz9999/fub_client
|
197
|
+
licenses:
|
198
|
+
- MIT
|
199
|
+
metadata:
|
200
|
+
allowed_push_host: https://rubygems.org
|
201
|
+
post_install_message:
|
202
|
+
rdoc_options: []
|
203
|
+
require_paths:
|
204
|
+
- lib
|
205
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
206
|
+
requirements:
|
207
|
+
- - ">="
|
208
|
+
- !ruby/object:Gem::Version
|
209
|
+
version: '0'
|
210
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
211
|
+
requirements:
|
212
|
+
- - ">="
|
213
|
+
- !ruby/object:Gem::Version
|
214
|
+
version: '0'
|
215
|
+
requirements: []
|
216
|
+
rubyforge_project:
|
217
|
+
rubygems_version: 2.5.1
|
218
|
+
signing_key:
|
219
|
+
specification_version: 4
|
220
|
+
summary: Ruby client for Follow Up Boss API http://www.followupboss.com
|
221
|
+
test_files: []
|