class NgrokAPI::Models::EndpointOAuthMicrosoft

Attributes

attrs[R]
client[R]
client_id[R]
client_secret[R]
email_addresses[R]
email_domains[R]
scopes[R]

Public Class Methods

new(client: nil, attrs: {}) click to toggle source
# File lib/ngrokapi/models/endpoint_o_auth_microsoft.rb, line 14
def initialize(client: nil, attrs: {})
  @client = client
  @attrs = attrs
  @client_id = @attrs['client_id']
  @client_secret = @attrs['client_secret']
  @scopes = @attrs['scopes']
  @email_addresses = @attrs['email_addresses']
  @email_domains = @attrs['email_domains']
end

Public Instance Methods

==(other) click to toggle source
# File lib/ngrokapi/models/endpoint_o_auth_microsoft.rb, line 24
def ==(other)
  @attrs == other.attrs
end
to_h() click to toggle source
# File lib/ngrokapi/models/endpoint_o_auth_microsoft.rb, line 32
def to_h
  @attrs.to_h
end
to_s() click to toggle source
# File lib/ngrokapi/models/endpoint_o_auth_microsoft.rb, line 28
def to_s
  @attrs.to_s
end