class GorillaProxy::Token

Attributes

expires_at[R]
refresh_token[RW]
token[RW]

Public Instance Methods

expires_at=(time_string) click to toggle source
# File lib/gorilla_proxy/token.rb, line 8
def expires_at=(time_string)
  @expires_at = Time.parse(time_string)
end
token?() click to toggle source
# File lib/gorilla_proxy/token.rb, line 12
def token?
  token.present?
end