Class: Atrium::ConnectWidgetApi

Inherits:
Object
  • Object
show all
Defined in:
lib/atrium-ruby/api/connect_widget_api.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(api_client = ApiClient.default) ⇒ ConnectWidgetApi

Returns a new instance of ConnectWidgetApi.



15
16
17
# File 'lib/atrium-ruby/api/connect_widget_api.rb', line 15

def initialize(api_client = ApiClient.default)
  @api_client = api_client
end

Instance Attribute Details

#api_clientObject

Returns the value of attribute api_client.



13
14
15
# File 'lib/atrium-ruby/api/connect_widget_api.rb', line 13

def api_client
  @api_client
end

Instance Method Details

#get_connect_widget(user_guid, body, opts = {}) ⇒ ConnectWidgetResponseBody

Embedding in a website This endpoint will return a URL for an embeddable version of MX Connect.

Parameters:

  • user_guid

    The unique identifier for a `user`.

  • body

    Optional config options for WebView (is_mobile_webview, current_institution_code, current_member_guid, update_credentials)

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:



24
25
26
27
# File 'lib/atrium-ruby/api/connect_widget_api.rb', line 24

def get_connect_widget(user_guid, body, opts = {})
  data, _status_code, _headers = get_connect_widget_with_http_info(user_guid, body, opts)
  data
end