Class: Pickpoint::Auth::StaticSession

Inherits:
Object
  • Object
show all
Defined in:
lib/pickpoint/auth.rb

Instance Method Summary collapse

Constructor Details

#initialize(access_token) ⇒ StaticSession

Returns a new instance of StaticSession.



63
64
65
# File 'lib/pickpoint/auth.rb', line 63

def initialize(access_token)
  @token = access_token
end

Instance Method Details

#refresh_after_unauthorizedObject



71
72
73
# File 'lib/pickpoint/auth.rb', line 71

def refresh_after_unauthorized
  false
end

#tokenObject



67
68
69
# File 'lib/pickpoint/auth.rb', line 67

def token
  @token
end