lib/inbox.rb in nylas-0.17.4 vs lib/inbox.rb in nylas-0.18.0
- old
+ new
@@ -78,10 +78,10 @@
@version = Inbox::VERSION
if ::RestClient.before_execution_procs.empty?
::RestClient.add_before_execution_proc do |req, params|
req.add_field('X-Inbox-API-Wrapper', 'ruby')
- req['User-Agent'] = "Ruby SDK #{@version} - #{RUBY_VERSION}"
+ req['User-Agent'] = "Nylas Ruby SDK #{@version} - #{RUBY_VERSION}"
end
end
end
def url_for_path(path)