balihoo_lpc_client 0.2.0.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.codeclimate.yml +25 -0
- data/.gitignore +9 -0
- data/.rspec +2 -0
- data/.rubocop.yml +1157 -0
- data/.travis.yml +7 -0
- data/CODE_OF_CONDUCT.md +13 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +45 -0
- data/Rakefile +6 -0
- data/balihoo_lpc_client.gemspec +40 -0
- data/bin/console +14 -0
- data/bin/setup +7 -0
- data/lib/balihoo_lpc_client/configuration.rb +31 -0
- data/lib/balihoo_lpc_client/connection.rb +37 -0
- data/lib/balihoo_lpc_client/request/api_base.rb +24 -0
- data/lib/balihoo_lpc_client/request/authentication.rb +32 -0
- data/lib/balihoo_lpc_client/request/base.rb +26 -0
- data/lib/balihoo_lpc_client/request/campaigns.rb +11 -0
- data/lib/balihoo_lpc_client/request/campaigns_with_tactics.rb +11 -0
- data/lib/balihoo_lpc_client/request/metrics.rb +17 -0
- data/lib/balihoo_lpc_client/response/authentication.rb +10 -0
- data/lib/balihoo_lpc_client/response/campaign.rb +16 -0
- data/lib/balihoo_lpc_client/response/metric.rb +16 -0
- data/lib/balihoo_lpc_client/response/tactic.rb +15 -0
- data/lib/balihoo_lpc_client/version.rb +3 -0
- data/lib/balihoo_lpc_client.rb +22 -0
- metadata +200 -0
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# Contributor Code of Conduct
|
2
|
+
|
3
|
+
As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
|
4
|
+
|
5
|
+
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.
|
6
|
+
|
7
|
+
Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
|
8
|
+
|
9
|
+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
|
10
|
+
|
11
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
|
12
|
+
|
13
|
+
This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2016 Bluewater, Inc.
|
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,45 @@
|
|
1
|
+
[![Code Climate](https://codeclimate.com/github/riverock/balihoo_lpc_client/badges/gpa.svg)](https://codeclimate.com/github/riverock/balihoo_lpc_client)
|
2
|
+
[![Test Coverage](https://codeclimate.com/github/riverock/balihoo_lpc_client/badges/coverage.svg)](https://codeclimate.com/github/riverock/balihoo_lpc_client/coverage)
|
3
|
+
[![Build Status](https://travis-ci.org/riverock/balihoo_lpc_client.svg?branch=develop)](https://travis-ci.org/riverock/balihoo_lpc_client)
|
4
|
+
|
5
|
+
# BalihooLpcClient
|
6
|
+
|
7
|
+
This provides a ruby wrapper around the Balihoo Local Partner Connect API.
|
8
|
+
|
9
|
+
**NOTE: It is still under development and all the available endpoints have not yet been
|
10
|
+
implemented.**
|
11
|
+
|
12
|
+
## Installation
|
13
|
+
|
14
|
+
Add this line to your application's Gemfile:
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
gem 'balihoo_lpc_client'
|
18
|
+
```
|
19
|
+
|
20
|
+
And then execute:
|
21
|
+
|
22
|
+
$ bundle
|
23
|
+
|
24
|
+
Or install it yourself as:
|
25
|
+
|
26
|
+
$ gem install balihoo_lpc_client
|
27
|
+
|
28
|
+
## Usage
|
29
|
+
|
30
|
+
TODO: Write usage instructions here
|
31
|
+
|
32
|
+
## Development
|
33
|
+
|
34
|
+
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.
|
35
|
+
|
36
|
+
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).
|
37
|
+
|
38
|
+
## Contributing
|
39
|
+
|
40
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/riverock/balihoo_lpc. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
|
41
|
+
|
42
|
+
|
43
|
+
## License
|
44
|
+
|
45
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
data/Rakefile
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'balihoo_lpc_client/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "balihoo_lpc_client"
|
8
|
+
spec.version = BalihooLpcClient::VERSION
|
9
|
+
spec.authors = ["JD Guzman", "Nic Boie"]
|
10
|
+
spec.email = ["jd.guzman@bluewaterbrand.com", "nic.boie@bluewaterbrand.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{Ruby Client for Balihoo's LPC API}
|
13
|
+
spec.description = %q{Ruby Client for Balihoo's LPC API}
|
14
|
+
spec.homepage = "https://github.com/riverock/balihoo_lpc"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
18
|
+
# delete this section to allow pushing this gem 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 "httparty"
|
31
|
+
spec.add_dependency "hashie"
|
32
|
+
|
33
|
+
spec.add_development_dependency "bundler", "~> 1.10"
|
34
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
35
|
+
spec.add_development_dependency "rspec"
|
36
|
+
spec.add_development_dependency "pry"
|
37
|
+
spec.add_development_dependency "simplecov"
|
38
|
+
spec.add_development_dependency "codeclimate-test-reporter"
|
39
|
+
spec.add_development_dependency "webmock"
|
40
|
+
end
|
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "balihoo_lpc_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
@@ -0,0 +1,31 @@
|
|
1
|
+
module BalihooLpcClient
|
2
|
+
class Configuration
|
3
|
+
attr_accessor :api_base, :api_version, :brand_key, :api_key, :location_key,
|
4
|
+
:user_id, :group_id, :client_id, :client_api_key
|
5
|
+
|
6
|
+
def initialize
|
7
|
+
defaults.each do |k, v|
|
8
|
+
self.send("#{k}=", v)
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
def self.create
|
13
|
+
config = new
|
14
|
+
yield config if block_given?
|
15
|
+
config
|
16
|
+
end
|
17
|
+
|
18
|
+
def url
|
19
|
+
[api_base, api_version].join(?/)
|
20
|
+
end
|
21
|
+
|
22
|
+
private
|
23
|
+
|
24
|
+
def defaults
|
25
|
+
{
|
26
|
+
api_base: "https://bac.dev.balihoo-cloud.com/localdata",
|
27
|
+
api_version: "v1.0"
|
28
|
+
}
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,37 @@
|
|
1
|
+
module BalihooLpcClient
|
2
|
+
class Connection
|
3
|
+
attr_accessor :config
|
4
|
+
|
5
|
+
def initialize(config:)
|
6
|
+
self.config = config
|
7
|
+
end
|
8
|
+
|
9
|
+
def authenticate!
|
10
|
+
auth = Request::Authentication.new(connection: self)
|
11
|
+
auth.authenticate!
|
12
|
+
end
|
13
|
+
|
14
|
+
def campaigns(params: {})
|
15
|
+
validate_params!(params: params)
|
16
|
+
Request::Campaigns.new(connection: self, params: params).fetch
|
17
|
+
end
|
18
|
+
|
19
|
+
def campaigns_with_tactics(params: {})
|
20
|
+
validate_params!(params: params)
|
21
|
+
Request::CampaignsWithTactics.new(connection: self, params: params).fetch
|
22
|
+
end
|
23
|
+
|
24
|
+
def metrics(tactic_id:, params: {})
|
25
|
+
validate_params!(params: params)
|
26
|
+
Request::Metrics.new(connection: self, params: params, tactic_id: tactic_id).fetch
|
27
|
+
end
|
28
|
+
|
29
|
+
private
|
30
|
+
|
31
|
+
def validate_params!(params:)
|
32
|
+
if config.location_key.nil? && params[:locations].nil?
|
33
|
+
raise ApiOptionError, 'must pass opts[:locations] array since no location_key given'
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
module BalihooLpcClient
|
2
|
+
module Request
|
3
|
+
class ApiBase < Base
|
4
|
+
attr_accessor :params
|
5
|
+
|
6
|
+
def initialize(connection:, params:)
|
7
|
+
super(connection: connection)
|
8
|
+
self.params = params
|
9
|
+
end
|
10
|
+
|
11
|
+
private
|
12
|
+
|
13
|
+
def opts
|
14
|
+
{
|
15
|
+
headers: {
|
16
|
+
'X-ClientId' => connection.config.client_id,
|
17
|
+
'X-ClientApiKey' => connection.config.client_api_key
|
18
|
+
},
|
19
|
+
query: params
|
20
|
+
}
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
module BalihooLpcClient
|
2
|
+
module Request
|
3
|
+
class Authentication < Base
|
4
|
+
def authenticate!
|
5
|
+
response = self.class.post('/genClientAPIKey', opts)
|
6
|
+
handle_errors_with(klass: AuthenticationError, response: response)
|
7
|
+
handle_success(response.parsed_response)
|
8
|
+
end
|
9
|
+
|
10
|
+
private
|
11
|
+
|
12
|
+
def opts
|
13
|
+
{
|
14
|
+
query: {
|
15
|
+
brandKey: connection.config.brand_key,
|
16
|
+
apiKey: connection.config.api_key,
|
17
|
+
locationKey: connection.config.location_key,
|
18
|
+
userId: connection.config.user_id,
|
19
|
+
groupId: connection.config.group_id
|
20
|
+
}
|
21
|
+
}
|
22
|
+
end
|
23
|
+
|
24
|
+
def handle_success(data)
|
25
|
+
auth = Response::Authentication.new(data)
|
26
|
+
config.client_id = auth.client_id
|
27
|
+
config.client_api_key = auth.client_api_key
|
28
|
+
data
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
module BalihooLpcClient
|
2
|
+
module Request
|
3
|
+
class Base
|
4
|
+
include HTTParty
|
5
|
+
|
6
|
+
attr_accessor :connection
|
7
|
+
|
8
|
+
def initialize(connection:)
|
9
|
+
self.connection = connection
|
10
|
+
self.class.base_uri config.url
|
11
|
+
end
|
12
|
+
|
13
|
+
private
|
14
|
+
|
15
|
+
def config
|
16
|
+
connection.config
|
17
|
+
end
|
18
|
+
|
19
|
+
def handle_errors_with(klass:, response:)
|
20
|
+
unless response.parsed_response.is_a?(Hash)
|
21
|
+
raise klass, response.parsed_response
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
module BalihooLpcClient
|
2
|
+
module Request
|
3
|
+
class Metrics < ApiBase
|
4
|
+
attr_accessor :tactic_id
|
5
|
+
|
6
|
+
def initialize(connection:, params:, tactic_id:)
|
7
|
+
super(connection: connection, params: params)
|
8
|
+
self.tactic_id = tactic_id
|
9
|
+
end
|
10
|
+
|
11
|
+
def fetch
|
12
|
+
r = self.class.get("/tactic/#{tactic_id}/metrics", opts).parsed_response
|
13
|
+
Response::Metric.new r
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module BalihooLpcClient
|
2
|
+
module Response
|
3
|
+
class Campaign < Hashie::Dash
|
4
|
+
include Hashie::Extensions::Dash::PropertyTranslation
|
5
|
+
include Hashie::Extensions::Dash::Coercion
|
6
|
+
|
7
|
+
property :id, from: 'id'
|
8
|
+
property :title, from: 'title'
|
9
|
+
property :description, from: 'description'
|
10
|
+
property :start, from: 'start'
|
11
|
+
property :end, from: 'end'
|
12
|
+
property :status, from: 'status'
|
13
|
+
property :tactics, from: 'tactics', coerce: Array[Tactic]
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module BalihooLpcClient
|
2
|
+
module Response
|
3
|
+
class Metric < Hashie::Dash
|
4
|
+
include Hashie::Extensions::Dash::PropertyTranslation
|
5
|
+
|
6
|
+
property :tactic_ids, from: 'tacticIds', coerce: Array
|
7
|
+
property :channel, from: 'channel'
|
8
|
+
property :clicks, from: 'clicks'
|
9
|
+
property :spend, from: 'spend'
|
10
|
+
property :impressions, from: 'impressions'
|
11
|
+
property :ctr, from: 'ctr'
|
12
|
+
property :avg_cpc, from: 'avgCpc'
|
13
|
+
property :avg_cpm, from: 'avgCpm'
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module BalihooLpcClient
|
2
|
+
module Response
|
3
|
+
class Tactic < Hashie::Dash
|
4
|
+
include Hashie::Extensions::Dash::PropertyTranslation
|
5
|
+
|
6
|
+
property :id, from: 'id'
|
7
|
+
property :title, from: 'title'
|
8
|
+
property :start, from: 'start'
|
9
|
+
property :end, from: 'end'
|
10
|
+
property :channel, from: 'channel'
|
11
|
+
property :description, from: 'description'
|
12
|
+
property :creative, from: 'creative'
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
require 'httparty'
|
2
|
+
require 'hashie'
|
3
|
+
|
4
|
+
require 'balihoo_lpc_client/version'
|
5
|
+
require 'balihoo_lpc_client/configuration'
|
6
|
+
require 'balihoo_lpc_client/connection'
|
7
|
+
require 'balihoo_lpc_client/request/base'
|
8
|
+
require 'balihoo_lpc_client/request/api_base'
|
9
|
+
require 'balihoo_lpc_client/request/authentication'
|
10
|
+
require 'balihoo_lpc_client/request/campaigns'
|
11
|
+
require 'balihoo_lpc_client/request/campaigns_with_tactics'
|
12
|
+
require 'balihoo_lpc_client/request/metrics'
|
13
|
+
require 'balihoo_lpc_client/response/authentication'
|
14
|
+
require 'balihoo_lpc_client/response/tactic'
|
15
|
+
require 'balihoo_lpc_client/response/campaign'
|
16
|
+
require 'balihoo_lpc_client/response/metric'
|
17
|
+
|
18
|
+
module BalihooLpcClient
|
19
|
+
class BalihooLpcError < StandardError; end
|
20
|
+
class AuthenticationError < BalihooLpcError; end
|
21
|
+
class ApiOptionError < BalihooLpcError; end
|
22
|
+
end
|
metadata
ADDED
@@ -0,0 +1,200 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: balihoo_lpc_client
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.0.pre
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- JD Guzman
|
8
|
+
- Nic Boie
|
9
|
+
autorequire:
|
10
|
+
bindir: exe
|
11
|
+
cert_chain: []
|
12
|
+
date: 2016-03-05 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: httparty
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - ">="
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '0'
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '0'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: hashie
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0'
|
35
|
+
type: :runtime
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: bundler
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - "~>"
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '1.10'
|
49
|
+
type: :development
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - "~>"
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '1.10'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: rake
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '10.0'
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '10.0'
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: rspec
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - ">="
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
type: :development
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0'
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: pry
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - ">="
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: '0'
|
91
|
+
type: :development
|
92
|
+
prerelease: false
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - ">="
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '0'
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
name: simplecov
|
100
|
+
requirement: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - ">="
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '0'
|
105
|
+
type: :development
|
106
|
+
prerelease: false
|
107
|
+
version_requirements: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - ">="
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: '0'
|
112
|
+
- !ruby/object:Gem::Dependency
|
113
|
+
name: codeclimate-test-reporter
|
114
|
+
requirement: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - ">="
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: '0'
|
119
|
+
type: :development
|
120
|
+
prerelease: false
|
121
|
+
version_requirements: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - ">="
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: webmock
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - ">="
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '0'
|
133
|
+
type: :development
|
134
|
+
prerelease: false
|
135
|
+
version_requirements: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - ">="
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: '0'
|
140
|
+
description: Ruby Client for Balihoo's LPC API
|
141
|
+
email:
|
142
|
+
- jd.guzman@bluewaterbrand.com
|
143
|
+
- nic.boie@bluewaterbrand.com
|
144
|
+
executables: []
|
145
|
+
extensions: []
|
146
|
+
extra_rdoc_files: []
|
147
|
+
files:
|
148
|
+
- ".codeclimate.yml"
|
149
|
+
- ".gitignore"
|
150
|
+
- ".rspec"
|
151
|
+
- ".rubocop.yml"
|
152
|
+
- ".travis.yml"
|
153
|
+
- CODE_OF_CONDUCT.md
|
154
|
+
- Gemfile
|
155
|
+
- LICENSE.txt
|
156
|
+
- README.md
|
157
|
+
- Rakefile
|
158
|
+
- balihoo_lpc_client.gemspec
|
159
|
+
- bin/console
|
160
|
+
- bin/setup
|
161
|
+
- lib/balihoo_lpc_client.rb
|
162
|
+
- lib/balihoo_lpc_client/configuration.rb
|
163
|
+
- lib/balihoo_lpc_client/connection.rb
|
164
|
+
- lib/balihoo_lpc_client/request/api_base.rb
|
165
|
+
- lib/balihoo_lpc_client/request/authentication.rb
|
166
|
+
- lib/balihoo_lpc_client/request/base.rb
|
167
|
+
- lib/balihoo_lpc_client/request/campaigns.rb
|
168
|
+
- lib/balihoo_lpc_client/request/campaigns_with_tactics.rb
|
169
|
+
- lib/balihoo_lpc_client/request/metrics.rb
|
170
|
+
- lib/balihoo_lpc_client/response/authentication.rb
|
171
|
+
- lib/balihoo_lpc_client/response/campaign.rb
|
172
|
+
- lib/balihoo_lpc_client/response/metric.rb
|
173
|
+
- lib/balihoo_lpc_client/response/tactic.rb
|
174
|
+
- lib/balihoo_lpc_client/version.rb
|
175
|
+
homepage: https://github.com/riverock/balihoo_lpc
|
176
|
+
licenses:
|
177
|
+
- MIT
|
178
|
+
metadata:
|
179
|
+
allowed_push_host: https://rubygems.org
|
180
|
+
post_install_message:
|
181
|
+
rdoc_options: []
|
182
|
+
require_paths:
|
183
|
+
- lib
|
184
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
185
|
+
requirements:
|
186
|
+
- - ">="
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
version: '0'
|
189
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
190
|
+
requirements:
|
191
|
+
- - ">"
|
192
|
+
- !ruby/object:Gem::Version
|
193
|
+
version: 1.3.1
|
194
|
+
requirements: []
|
195
|
+
rubyforge_project:
|
196
|
+
rubygems_version: 2.4.5.1
|
197
|
+
signing_key:
|
198
|
+
specification_version: 4
|
199
|
+
summary: Ruby Client for Balihoo's LPC API
|
200
|
+
test_files: []
|