Class: RDStation::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#access_token_refresh_callbackObject (readonly)

Returns the value of attribute access_token_refresh_callback.



20
21
22
# File 'lib/rdstation.rb', line 20

def access_token_refresh_callback
  @access_token_refresh_callback
end

#base_hostObject

Returns the value of attribute base_host.



19
20
21
# File 'lib/rdstation.rb', line 19

def base_host
  @base_host
end

#client_idObject

Returns the value of attribute client_id.



19
20
21
# File 'lib/rdstation.rb', line 19

def client_id
  @client_id
end

#client_secretObject

Returns the value of attribute client_secret.



19
20
21
# File 'lib/rdstation.rb', line 19

def client_secret
  @client_secret
end

Instance Method Details

#on_access_token_refresh(&block) ⇒ Object



22
23
24
# File 'lib/rdstation.rb', line 22

def on_access_token_refresh(&block)
  @access_token_refresh_callback = block
end