adility 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/adility.rb +1 -3
  2. data/lib/adility/version.rb +1 -1
  3. metadata +1 -1
@@ -15,7 +15,7 @@ module Adility
15
15
  @api_key = args[0]
16
16
  @conn = Faraday.new(:url => "https://testapi.offersdb.com") do |builder|
17
17
  builder.adapter Faraday.default_adapter
18
- builder.adapter :logger # if options[:debug] == true
18
+ builder.adapter :logger if options[:debug] == true
19
19
  builder.use Faraday::Response::ParseJson
20
20
  builder.use Faraday::Response::Mashify
21
21
  end
@@ -31,8 +31,6 @@ module Adility
31
31
  req.headers['X-OFFERSDB-API-KEY'] = api_key
32
32
  req.params = options
33
33
  end
34
- require 'pp'
35
- pp response.body
36
34
  total_pages = response.body.send :total_pages
37
35
  total_items = response.body.send :total_items
38
36
  page = response.body.send :page
@@ -1,3 +1,3 @@
1
1
  module Adility
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: adility
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.2
5
+ version: 0.0.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Josh Deeden