lib/stackify/authorization/authorizable.rb in stackify-api-ruby-1.0.11 vs lib/stackify/authorization/authorizable.rb in stackify-api-ruby-1.0.12
- old
+ new
@@ -9,9 +9,10 @@
@@authorized = false
@@auth_lock = Mutex.new
@@auth_client = nil
def authorize attempts=3
+ Stackify::EnvDetails.instance.set_rails_info
@@auth_lock.synchronize do
return unless @@auth_client.nil?
@@auth_client = Stackify::Authorizable::AuthorizationClient.new
@@auth_client.auth attempts
end