Skip to content

Commit

Permalink
Upgrade httparty dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
jazminschroeder committed Dec 17, 2012
1 parent e088c0f commit a4a188c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fedex.gemspec
Expand Up @@ -14,7 +14,7 @@ Gem::Specification.new do |s|


s.rubyforge_project = "fedex" s.rubyforge_project = "fedex"


s.add_dependency 'httparty', '~> 0.8.0' s.add_dependency 'httparty', '~> 0.9.0'
s.add_dependency 'nokogiri', '~> 1.5.0' s.add_dependency 'nokogiri', '~> 1.5.0'


s.add_development_dependency "rspec", '~> 2.9.0' s.add_development_dependency "rspec", '~> 2.9.0'
Expand Down
3 changes: 2 additions & 1 deletion lib/fedex/request/tracking_information.rb
Expand Up @@ -15,7 +15,7 @@ def initialize(credentials, options={})
@credentials = credentials @credentials = credentials


# Optional # Optional
@include_detailed_scans = options[:include_detailed_scans] @include_detailed_scans = options[:include_detailed_scans] || true
@uuid = options[:uuid] @uuid = options[:uuid]
@paging_token = options[:paging_token] @paging_token = options[:paging_token]


Expand All @@ -25,6 +25,7 @@ def initialize(credentials, options={})
end end


def process_request def process_request
puts build_xml
api_response = self.class.post(api_url, :body => build_xml) api_response = self.class.post(api_url, :body => build_xml)
puts api_response if @debug == true puts api_response if @debug == true
response = parse_response(api_response) response = parse_response(api_response)
Expand Down
2 changes: 1 addition & 1 deletion lib/fedex/version.rb
@@ -1,3 +1,3 @@
module Fedex module Fedex
VERSION = "2.2.1" VERSION = "2.2.2"
end end

0 comments on commit a4a188c

Please sign in to comment.