Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/shipping_easy/http/faraday_adapter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ def post
connection.post do |req|
req.url uri, params
req.body = request.body
req.headers['Content-Type'] = 'application/json' if request.body
end
end

Expand All @@ -36,7 +37,7 @@ def connection
faraday.adapter Faraday.default_adapter
end
end

class CustomUserAgent < Faraday::Middleware
def initialize(app, agent_string)
super(app)
Expand Down
2 changes: 1 addition & 1 deletion lib/shipping_easy/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module ShippingEasy
VERSION = "0.7.0"
VERSION = "0.7.1"
end