easypost 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/easypost.rb +4 -0
  2. metadata +1 -1
data/lib/easypost.rb CHANGED
@@ -39,12 +39,16 @@ module EasyPost
39
39
  def self.get(url, params={})
40
40
  params = {:userpwd => @@api_key, :params => params}
41
41
  @response = Typhoeus::Request.get(url, params)
42
+ puts "EasyPost Response: "
43
+ puts @response
42
44
  return EasyPost.symbolize_keys_recursive(JSON.parse(@response.body))
43
45
  end
44
46
 
45
47
  def self.post(url, params={})
46
48
  params = {:userpwd => @@api_key, :params => params}
47
49
  @response = Typhoeus::Request.post(url, params)
50
+ puts "EasyPost Response: "
51
+ puts @response
48
52
  return EasyPost.symbolize_keys_recursive(JSON.parse(@response.body))
49
53
  end
50
54
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easypost
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: