Method: NgrokAPI::Models::EndpointOAuthProvider#initialize

Defined in:
lib/ngrokapi/models/endpoint_o_auth_provider.rb

#initialize(client: nil, attrs: {}) ⇒ EndpointOAuthProvider

Returns a new instance of EndpointOAuthProvider.



19
20
21
22
23
24
25
26
27
28
29
30
# File 'lib/ngrokapi/models/endpoint_o_auth_provider.rb', line 19

def initialize(client: nil, attrs: {})
  @client = client
  @attrs = attrs
  @github = @attrs['github']
  @facebook = @attrs['facebook']
  @microsoft = @attrs['microsoft']
  @google = @attrs['google']
  @linkedin = @attrs['linkedin']
  @gitlab = @attrs['gitlab']
  @twitch = @attrs['twitch']
  @amazon = @attrs['amazon']
end