Skip to content

Commit

Permalink
Be2Bill: Use #include? instead of #in?
Browse files Browse the repository at this point in the history
  • Loading branch information
ntalbott committed Sep 27, 2013
1 parent f1a732b commit adf269a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/active_merchant/billing/gateways/be2bill.rb
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def commit(action, money, parameters)
end

def successful?(response)
response['EXECCODE'].in? %w(0000 0001)
%w(0000 0001).include?(response['EXECCODE'])
end

def message_from(response)
Expand Down

0 comments on commit adf269a

Please sign in to comment.