g5_ygl_client_20 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 04253d6238dc4065a843e09cec333b016138a1e0
4
+ data.tar.gz: 95fc90a752af256755f1ec9c038410e76cbcf75c
5
+ SHA512:
6
+ metadata.gz: 17d3604bf98a578c76be391a85f0073c54c883c0114c4991703a4274201f01145bed0b3bc5a1286f03e044d2775ff4497975c9d1510ee5e72c700fb57d470338
7
+ data.tar.gz: fd94384deb629065a66a6eda86fec27e181cbe9ead044b9b97acf9f01767fcf3cc713784f22e8695d4b0878e916b15bdb0175cd80f275ba179568370b5f48756
data/.gitignore ADDED
@@ -0,0 +1,14 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ *.bundle
11
+ *.so
12
+ *.o
13
+ *.a
14
+ mkmf.log
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --require spec_helper
data/Gemfile ADDED
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in g5_ygl_client_2.0.gemspec
4
+ gemspec
5
+ gem "pry"
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2015 Matt Bishop
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,31 @@
1
+ # G5YglClient2.0
2
+
3
+ TODO: Write a gem description
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'g5_ygl_client_2.0'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install g5_ygl_client_2.0
20
+
21
+ ## Usage
22
+
23
+ TODO: Write usage instructions here
24
+
25
+ ## Contributing
26
+
27
+ 1. Fork it ( https://github.com/[my-github-username]/g5_ygl_client_2.0/fork )
28
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
29
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
30
+ 4. Push to the branch (`git push origin my-new-feature`)
31
+ 5. Create a new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+
@@ -0,0 +1,28 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'g5_ygl_client_20/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "g5_ygl_client_20"
8
+ spec.version = G5YglClient20::VERSION
9
+ spec.authors = ["Matt Bishop"]
10
+ spec.email = ["matt.bishop@getg5.com"]
11
+ spec.summary = %q{Lead push and retrival from you got leads}
12
+ spec.description = %q{Ride Eternal in Valhalla - Shiny and Chrome}
13
+ spec.homepage = ""
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_dependency "activemodel"
22
+ spec.add_dependency "activesupport"
23
+ spec.add_dependency "httparty"
24
+ spec.add_development_dependency "bundler", "~> 1.7"
25
+ spec.add_development_dependency "rake", "~> 10.0"
26
+ spec.add_development_dependency "gemfury_helpers"
27
+ spec.add_development_dependency "rspec"
28
+ end
@@ -0,0 +1,32 @@
1
+ module G5YglClient20
2
+ class Client
3
+
4
+ def initialize(username, password, subscription_id)
5
+ @auth = "BASIC " + Base64.strict_encode64("#{username}:#{password}")
6
+ @url = "https://www.youvegotleads.com/api/properties/"
7
+ @subscription_id = subscription_id
8
+ end
9
+
10
+ def get_properties
11
+ request = GetPropertiesRequest.execute(@auth, @url, @subscription_id)
12
+ end
13
+
14
+ def get_property(property_id)
15
+ request = GetPropertyRequest.execute(@auth, @url, @subscription_id, property_id)
16
+ end
17
+
18
+ def post_lead(property_id, lead)
19
+ request = PostLeadRequest.execute(@auth, @url, property_id, lead)
20
+ end
21
+
22
+ def get_leads_for_property(property_id)
23
+ request = GetLeadsForPropertyRequest.execute(@auth, @url, @subscription_id, property_id)
24
+ end
25
+
26
+ def get_lead(property_id, lead_id)
27
+ request = GetLeadRequest.execute(@auth, @url, @subscription_id, property_id, lead_id)
28
+ end
29
+
30
+
31
+ end
32
+ end
@@ -0,0 +1,12 @@
1
+ module G5YglClient20
2
+ class GetLeadRequest
3
+ #This is merely placeholder code - this feature is not implemented
4
+ def self.execute(auth,url, subscription_id,property_id, lead_id)
5
+ response = HTTParty.get("#{url}#{property_id}/leads/#{lead_id}?subscriptionId=#{subscription_id}",
6
+ :headers => {"Authorization" => auth,
7
+ "Host" => HOST,
8
+ "Accept" => "application/json"})
9
+ end
10
+
11
+ end
12
+ end
@@ -0,0 +1,12 @@
1
+ module G5YglClient20
2
+ class GetLeadsForPropertyRequest
3
+ #This is merely placeholder code - this feature is not implemented
4
+ def self.execute(auth,url, subscription_id,property_id)
5
+ response = HTTParty.get("#{url}#{property_id}/leads?subscriptionId=#{subscription_id}",
6
+ :headers => {"Authorization" => auth,
7
+ "Host" => HOST,
8
+ "Accept" => "application/json"})
9
+ end
10
+
11
+ end
12
+ end
@@ -0,0 +1,12 @@
1
+ module G5YglClient20
2
+ class GetPropertiesRequest
3
+
4
+ def self.execute(auth, url, subscription_id)
5
+ response = HTTParty.get("#{url}?subscriptionId=#{subscription_id}",
6
+ :headers => {"Authorization" => auth,
7
+ "Host" => HOST,
8
+ "Accept" => "application/json"})
9
+ end
10
+
11
+ end
12
+ end
@@ -0,0 +1,12 @@
1
+ module G5YglClient20
2
+ class GetPropertyRequest
3
+ #This is merely placeholder code - this feature is not implemented
4
+ def self.execute(auth,url, subscription_id,property_id)
5
+ response = HTTParty.get("#{url}#{property_id}?subscriptionId=#{subscription_id}",
6
+ :headers => {"Authorization" => auth,
7
+ "Host" => HOST,
8
+ "Accept" => "application/json"})
9
+ end
10
+
11
+ end
12
+ end
@@ -0,0 +1,19 @@
1
+ module G5YglClient20
2
+ class PostLeadRequest
3
+
4
+ def self.execute(auth,url,property_id, lead)
5
+ response = HTTParty.post("#{url}#{property_id}/leads",
6
+ :headers => {"Authorization" => auth,
7
+ "Host" => HOST,
8
+ "Accept" => "application/json",
9
+ "Content-Type" => "application/json"},
10
+ :body =>{"PrimaryContact" => {"FirstName" => "#{lead[:first_name]}",
11
+ "LastName" => "#{lead[:last_name]}",
12
+ "Address" => {"Email" => "#{lead[:email]}",
13
+ "PhoneCell" => "#{lead[:phone]}"}},
14
+ "ReferralSources" => [{"LeadSourceId" => "588", "LeadSourceRank" => "1"}]
15
+ }.to_json)
16
+ end
17
+
18
+ end
19
+ end
@@ -0,0 +1,3 @@
1
+ module G5YglClient20
2
+ VERSION = "1.0.0"
3
+ end
@@ -0,0 +1,23 @@
1
+ require "g5_ygl_client_20/version"
2
+ require "g5_ygl_client_20/client"
3
+ require "g5_ygl_client_20/requests/get_lead_request"
4
+ require "g5_ygl_client_20/requests/get_leads_for_property_request"
5
+ require "g5_ygl_client_20/requests/get_properties_request"
6
+ require "g5_ygl_client_20/requests/get_property_request"
7
+ require "g5_ygl_client_20/requests/post_lead_request"
8
+ require "HTTParty"
9
+
10
+ module G5YglClient20
11
+
12
+ SENSITIVE_FIELDS = [
13
+ "address1",
14
+ "email",
15
+ "phone"
16
+ ]
17
+
18
+ HOST = "www.youvegotleads.com"
19
+
20
+ def self.new(username, password, subscription_id)
21
+ client = G5YglClient20::Client.new(username, password, subscription_id)
22
+ end
23
+ end
@@ -0,0 +1,57 @@
1
+ require 'spec_helper'
2
+ module G5YglClient20
3
+ describe Client do
4
+
5
+ let(:client) {G5YglClient20::Client.new("shinyandchrome", "aquacola", 3)}
6
+
7
+ describe "initialize" do
8
+ it "assigns" do
9
+ client.instance_variable_get(:@auth).should eq("BASIC c2hpbnlhbmRjaHJvbWU6YXF1YWNvbGE=")
10
+ client.instance_variable_get(:@url).should eq("https://www.youvegotleads.com/api/properties/")
11
+ client.instance_variable_get(:@subscription_id).should eq(3)
12
+ end
13
+ end
14
+
15
+ let(:url) {"https://www.youvegotleads.com/api/properties/"}
16
+ let(:auth) {"BASIC c2hpbnlhbmRjaHJvbWU6YXF1YWNvbGE="}
17
+ let(:subscription_id) {3}
18
+
19
+ describe "get_properties" do
20
+ it "makes a Get Properties Request" do
21
+ expect(GetPropertiesRequest).to receive(:execute).with(auth, url, subscription_id)
22
+ client.get_properties
23
+ end
24
+ end
25
+
26
+ describe "get_property" do
27
+ it "makes a Get Property Request" do
28
+ expect(GetPropertyRequest).to receive(:execute).with(auth, url, subscription_id, 1)
29
+ client.get_property(1)
30
+ end
31
+ end
32
+
33
+ describe "post_lead" do
34
+ it "makes a Post Lead Request" do
35
+ expect(PostLeadRequest).to receive(:execute).with(auth, url, 1, {})
36
+ client.post_lead(1,{})
37
+ end
38
+ end
39
+
40
+ describe "get_leads_for_property" do
41
+ it "makes a Get Leads For Property Request" do
42
+ expect(GetLeadsForPropertyRequest).to receive(:execute).with(auth, url, subscription_id, 1)
43
+ client.get_leads_for_property(1)
44
+ end
45
+ end
46
+
47
+ describe "get_lead" do
48
+ it "makes a Get Lead Request" do
49
+ expect(GetLeadRequest).to receive(:execute).with(auth, url, subscription_id, 1, 2)
50
+ client.get_lead(1,2)
51
+ end
52
+ end
53
+
54
+
55
+ end
56
+
57
+ end
@@ -0,0 +1,20 @@
1
+ require 'spec_helper'
2
+
3
+ module G5YglClient20
4
+ describe GetLeadRequest do
5
+ let(:url) {"https://www.youvegotleads.com/api/properties/"}
6
+ let(:auth) {"BASIC c2hpbnlhbmRjaHJvbWU6YXF1YWNvbGE="}
7
+ let(:subscription_id) {3}
8
+
9
+ describe 'execute' do
10
+ it "calls HTTParty get" do
11
+ expect(HTTParty).to receive(:get).with("#{url}1/leads/2?subscriptionId=#{subscription_id}",
12
+ :headers => {"Authorization" => auth,
13
+ "Host" => HOST,
14
+ "Accept" => "application/json"})
15
+ GetLeadRequest.execute(auth, url, 3, 1, 2)
16
+ end
17
+ end
18
+
19
+ end
20
+ end
@@ -0,0 +1,20 @@
1
+ require 'spec_helper'
2
+
3
+ module G5YglClient20
4
+ describe GetLeadsForPropertyRequest do
5
+ let(:url) {"https://www.youvegotleads.com/api/properties/"}
6
+ let(:auth) {"BASIC c2hpbnlhbmRjaHJvbWU6YXF1YWNvbGE="}
7
+ let(:subscription_id) {3}
8
+
9
+ describe 'execute' do
10
+ it "calls HTTParty get" do
11
+ expect(HTTParty).to receive(:get).with("#{url}1/leads?subscriptionId=#{subscription_id}",
12
+ :headers => {"Authorization" => auth,
13
+ "Host" => HOST,
14
+ "Accept" => "application/json"})
15
+ GetLeadsForPropertyRequest.execute(auth, url, 3, 1)
16
+ end
17
+ end
18
+
19
+ end
20
+ end
@@ -0,0 +1,20 @@
1
+ require 'spec_helper'
2
+
3
+ module G5YglClient20
4
+ describe GetPropertiesRequest do
5
+ let(:url) {"https://www.youvegotleads.com/api/properties/"}
6
+ let(:auth) {"BASIC c2hpbnlhbmRjaHJvbWU6YXF1YWNvbGE="}
7
+ let(:subscription_id) {3}
8
+
9
+ describe 'execute' do
10
+ it "calls HTTParty get" do
11
+ expect(HTTParty).to receive(:get).with("#{url}?subscriptionId=#{subscription_id}",
12
+ :headers => {"Authorization" => auth,
13
+ "Host" => HOST,
14
+ "Accept" => "application/json"})
15
+ GetPropertiesRequest.execute(auth,url,3)
16
+ end
17
+ end
18
+
19
+ end
20
+ end
@@ -0,0 +1,20 @@
1
+ require 'spec_helper'
2
+
3
+ module G5YglClient20
4
+ describe GetPropertyRequest do
5
+ let(:url) {"https://www.youvegotleads.com/api/properties/"}
6
+ let(:auth) {"BASIC c2hpbnlhbmRjaHJvbWU6YXF1YWNvbGE="}
7
+ let(:subscription_id) {3}
8
+
9
+ describe 'execute' do
10
+ it "calls HTTParty get" do
11
+ expect(HTTParty).to receive(:get).with("#{url}1?subscriptionId=#{subscription_id}",
12
+ :headers => {"Authorization" => auth,
13
+ "Host" => HOST,
14
+ "Accept" => "application/json"})
15
+ GetPropertyRequest.execute(auth, url, 3, 1)
16
+ end
17
+ end
18
+
19
+ end
20
+ end
@@ -0,0 +1,26 @@
1
+ require 'spec_helper'
2
+
3
+ module G5YglClient20
4
+ describe PostLeadRequest do
5
+ let(:url) {"https://www.youvegotleads.com/api/properties/"}
6
+ let(:auth) {"BASIC c2hpbnlhbmRjaHJvbWU6YXF1YWNvbGE="}
7
+ let(:subscription_id) {3}
8
+
9
+ describe 'execute' do
10
+ it "calls HTTParty post" do
11
+ expect(HTTParty).to receive(:post).with("#{url}1/leads",
12
+ :headers => {"Authorization" => auth,
13
+ "Host" => HOST,
14
+ "Accept" => "application/json",
15
+ "Content-Type" => "application/json"},
16
+ :body=>"{\"PrimaryContact\":{\"FirstName\":\"mad\",\"LastName\":\"max\",\"Address\":{\"Email\":\"mad@max.com\",\"PhoneCell\":\"5418675309\"}},\"ReferralSources\":[{\"LeadSourceId\":\"588\",\"LeadSourceRank\":\"1\"}]}")
17
+
18
+ PostLeadRequest.execute(auth, url, 1, {first_name: "mad",
19
+ last_name: "max",
20
+ email: "mad@max.com",
21
+ phone: "5418675309"})
22
+ end
23
+ end
24
+
25
+ end
26
+ end
@@ -0,0 +1,102 @@
1
+ require 'g5_ygl_client_20'
2
+ require 'pry'
3
+ require 'rspec'
4
+ require 'active_support/core_ext/hash/indifferent_access'
5
+ require 'active_support/all'
6
+
7
+ # This file was generated by the `rspec --init` command. Conventionally, all
8
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
9
+ # The generated `.rspec` file contains `--require spec_helper` which will cause
10
+ # this file to always be loaded, without a need to explicitly require it in any
11
+ # files.
12
+ #
13
+ # Given that it is always loaded, you are encouraged to keep this file as
14
+ # light-weight as possible. Requiring heavyweight dependencies from this file
15
+ # will add to the boot time of your test suite on EVERY test run, even for an
16
+ # individual file that may not need all of that loaded. Instead, consider making
17
+ # a separate helper file that requires the additional dependencies and performs
18
+ # the additional setup, and require it from the spec files that actually need
19
+ # it.
20
+ #
21
+ # The `.rspec` file also contains a few flags that are not defaults but that
22
+ # users commonly want.
23
+ #
24
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
25
+ RSpec.configure do |config|
26
+ # rspec-expectations config goes here. You can use an alternate
27
+ # assertion/expectation library such as wrong or the stdlib/minitest
28
+ # assertions if you prefer.
29
+ config.expect_with :rspec do |expectations|
30
+ # This option will default to `true` in RSpec 4. It makes the `description`
31
+ # and `failure_message` of custom matchers include text for helper methods
32
+ # defined using `chain`, e.g.:
33
+ # be_bigger_than(2).and_smaller_than(4).description
34
+ # # => "be bigger than 2 and smaller than 4"
35
+ # ...rather than:
36
+ # # => "be bigger than 2"
37
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
38
+ end
39
+
40
+ # rspec-mocks config goes here. You can use an alternate test double
41
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
42
+ config.mock_with :rspec do |mocks|
43
+ # Prevents you from mocking or stubbing a method that does not exist on
44
+ # a real object. This is generally recommended, and will default to
45
+ # `true` in RSpec 4.
46
+ mocks.verify_partial_doubles = true
47
+ end
48
+
49
+ # The settings below are suggested to provide a good initial experience
50
+ # with RSpec, but feel free to customize to your heart's content.
51
+ =begin
52
+ # These two settings work together to allow you to limit a spec run
53
+ # to individual examples or groups you care about by tagging them with
54
+ # `:focus` metadata. When nothing is tagged with `:focus`, all examples
55
+ # get run.
56
+ config.filter_run :focus
57
+ config.run_all_when_everything_filtered = true
58
+
59
+ # Allows RSpec to persist some state between runs in order to support
60
+ # the `--only-failures` and `--next-failure` CLI options. We recommend
61
+ # you configure your source control system to ignore this file.
62
+ config.example_status_persistence_file_path = "spec/examples.txt"
63
+
64
+ # Limits the available syntax to the non-monkey patched syntax that is
65
+ # recommended. For more details, see:
66
+ # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
67
+ # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
68
+ # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
69
+ config.disable_monkey_patching!
70
+
71
+ # This setting enables warnings. It's recommended, but in some cases may
72
+ # be too noisy due to issues in dependencies.
73
+ config.warnings = true
74
+
75
+ # Many RSpec users commonly either run the entire suite or an individual
76
+ # file, and it's useful to allow more verbose output when running an
77
+ # individual spec file.
78
+ if config.files_to_run.one?
79
+ # Use the documentation formatter for detailed output,
80
+ # unless a formatter has already been configured
81
+ # (e.g. via a command-line flag).
82
+ config.default_formatter = 'doc'
83
+ end
84
+
85
+ # Print the 10 slowest examples and example groups at the
86
+ # end of the spec run, to help surface which specs are running
87
+ # particularly slow.
88
+ config.profile_examples = 10
89
+
90
+ # Run specs in random order to surface order dependencies. If you find an
91
+ # order dependency and want to debug it, you can fix the order by providing
92
+ # the seed, which is printed after each run.
93
+ # --seed 1234
94
+ config.order = :random
95
+
96
+ # Seed global randomization in this process using the `--seed` CLI option.
97
+ # Setting this allows you to use `--seed` to deterministically reproduce
98
+ # test failures related to randomization by passing the same `--seed` value
99
+ # as the one that triggered the failure.
100
+ Kernel.srand config.seed
101
+ =end
102
+ end
metadata ADDED
@@ -0,0 +1,172 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: g5_ygl_client_20
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Matt Bishop
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-12-28 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activemodel
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: activesupport
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: httparty
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: bundler
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.7'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.7'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '10.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '10.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: gemfury_helpers
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rspec
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ description: Ride Eternal in Valhalla - Shiny and Chrome
112
+ email:
113
+ - matt.bishop@getg5.com
114
+ executables: []
115
+ extensions: []
116
+ extra_rdoc_files: []
117
+ files:
118
+ - ".gitignore"
119
+ - ".rspec"
120
+ - Gemfile
121
+ - LICENSE.txt
122
+ - README.md
123
+ - Rakefile
124
+ - g5_ygl_client_20.gemspec
125
+ - lib/g5_ygl_client_20.rb
126
+ - lib/g5_ygl_client_20/client.rb
127
+ - lib/g5_ygl_client_20/requests/get_lead_request.rb
128
+ - lib/g5_ygl_client_20/requests/get_leads_for_property_request.rb
129
+ - lib/g5_ygl_client_20/requests/get_properties_request.rb
130
+ - lib/g5_ygl_client_20/requests/get_property_request.rb
131
+ - lib/g5_ygl_client_20/requests/post_lead_request.rb
132
+ - lib/g5_ygl_client_20/version.rb
133
+ - spec/client_spec.rb
134
+ - spec/requests/get_lead_request_spec.rb
135
+ - spec/requests/get_leads_for_property_request_spec.rb
136
+ - spec/requests/get_properties_request_spec.rb
137
+ - spec/requests/get_property_request_spec.rb
138
+ - spec/requests/post_lead_request_spec.rb
139
+ - spec/spec_helper.rb
140
+ homepage: ''
141
+ licenses:
142
+ - MIT
143
+ metadata: {}
144
+ post_install_message:
145
+ rdoc_options: []
146
+ require_paths:
147
+ - lib
148
+ required_ruby_version: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ required_rubygems_version: !ruby/object:Gem::Requirement
154
+ requirements:
155
+ - - ">="
156
+ - !ruby/object:Gem::Version
157
+ version: '0'
158
+ requirements: []
159
+ rubyforge_project:
160
+ rubygems_version: 2.4.6
161
+ signing_key:
162
+ specification_version: 4
163
+ summary: Lead push and retrival from you got leads
164
+ test_files:
165
+ - spec/client_spec.rb
166
+ - spec/requests/get_lead_request_spec.rb
167
+ - spec/requests/get_leads_for_property_request_spec.rb
168
+ - spec/requests/get_properties_request_spec.rb
169
+ - spec/requests/get_property_request_spec.rb
170
+ - spec/requests/post_lead_request_spec.rb
171
+ - spec/spec_helper.rb
172
+ has_rdoc: