lib/garage/strategy/access_token.rb in the_garage-2.6.1 vs lib/garage/strategy/access_token.rb in the_garage-2.7.0
- old
+ new
@@ -1,8 +1,9 @@
module Garage
module Strategy
class AccessToken
- attr_reader :scope, :token, :token_type, :raw_response
+ attr_accessor :token
+ attr_reader :scope, :token_type, :raw_response
def initialize(attrs)
@raw_response = attrs
@scope, @token, @token_type = attrs[:scope], attrs[:token], attrs[:token_type]
@application_id, @resource_owner_id = attrs[:application_id], attrs[:resource_owner_id]