Class: DatagroutConduit::Onramp::OnrampCredentials

Inherits:
Struct
  • Object
show all
Defined in:
lib/datagrout_conduit/onramp.rb

Overview

Provisional credentials returned by the DG onramp complete endpoint.

Store client_id and client_secret securely — the secret is shown exactly once and cannot be recovered after this point.

Instance Attribute Summary collapse

Instance Attribute Details

#client_idObject

Returns the value of attribute client_id

Returns:

  • (Object)

    the current value of client_id



43
44
45
# File 'lib/datagrout_conduit/onramp.rb', line 43

def client_id
  @client_id
end

#client_secretObject

Returns the value of attribute client_secret

Returns:

  • (Object)

    the current value of client_secret



43
44
45
# File 'lib/datagrout_conduit/onramp.rb', line 43

def client_secret
  @client_secret
end

#expires_inObject

Returns the value of attribute expires_in

Returns:

  • (Object)

    the current value of expires_in



43
44
45
# File 'lib/datagrout_conduit/onramp.rb', line 43

def expires_in
  @expires_in
end

#mcp_urlObject

Returns the value of attribute mcp_url

Returns:

  • (Object)

    the current value of mcp_url



43
44
45
# File 'lib/datagrout_conduit/onramp.rb', line 43

def mcp_url
  @mcp_url
end

#rpc_urlObject

Returns the value of attribute rpc_url

Returns:

  • (Object)

    the current value of rpc_url



43
44
45
# File 'lib/datagrout_conduit/onramp.rb', line 43

def rpc_url
  @rpc_url
end

#scopesObject

Returns the value of attribute scopes

Returns:

  • (Object)

    the current value of scopes



43
44
45
# File 'lib/datagrout_conduit/onramp.rb', line 43

def scopes
  @scopes
end

#token_urlObject

Returns the value of attribute token_url

Returns:

  • (Object)

    the current value of token_url



43
44
45
# File 'lib/datagrout_conduit/onramp.rb', line 43

def token_url
  @token_url
end