Skip to content

Commit

Permalink
Stop doing magic
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Burke committed Feb 4, 2014
1 parent 0e1370e commit 7d51273
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/twilio-ruby/rest/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@ class Client
API_VERSION = '2010-04-01'

# 1.8.7 doesn't have the RUBY_ENGINE constant.
engine = !defined?(RUBY_ENGINE) || RUBY_ENGINE == 'ruby'
if defined?(RUBY_ENGINE)
engine = RUBY_ENGINE
else
engine = 'ruby'
end

HTTP_HEADERS = {
'Accept' => 'application/json',
Expand Down

0 comments on commit 7d51273

Please sign in to comment.