Commit 1099f030 authored by Bruno Nocera Zanette's avatar Bruno Nocera Zanette
Browse files

add Permission to alter AccessToken on Client

parent 510fad4f
......@@ -2,7 +2,7 @@ module Dspace
class Client
DSPACE_API = 'https://demo.dspace.org'
attr_reader :access_token
attr_accessor :access_token
def initialize(options = {})
@access_token = options.with_indifferent_access[:access_token]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment