lib/deploygate/session.rb in deploygate-0.0.4 vs lib/deploygate/session.rb in deploygate-0.0.5

- old
+ new

@@ -15,9 +15,13 @@ # @return [Boolean] def login? @@login = @@login.nil? ? API::V1::Session.check(@name, @token) : @@login end + def show_login_user + API::V1::Session.show(@token) + end + # @param [String] email # @param [String] password # @return [void] def self.login(email, password) data = API::V1::Session.login(email, password)