lib/stackify/authorization/authorizable.rb in stackify-api-ruby-1.0.3 vs lib/stackify/authorization/authorizable.rb in stackify-api-ruby-1.0.4

- old
+ new

@@ -28,14 +28,14 @@ @@authorized = true end def successfull_authorisation response Stackify::EnvDetails.instance.update_auth_info JSON.parse(response.body) - Stackify.internal_log :info, 'Authorisation is finished successfully.' + Stackify.internal_log :info, 'Authorization is finished successfully.' end def unsuccessfull_authorisation response, caller - Stackify.log_internal_error "Authorisation finally failed: #{response_string(response)}" + Stackify.log_internal_error "Authorization finally failed: #{response_string(response)}" Stackify.shutdown_all caller unless @@authorized end def if_not_authorized failure_msg, &block failure_msg += ', but Stackify module is not authorized'