mirror of
https://github.com/ngrok/ngrok-api-ruby.git
synced 2026-05-17 16:50:40 +00:00
40 lines
798 B
Ruby
40 lines
798 B
Ruby
# frozen_string_literal: true
|
|
|
|
# Code generated for API Clients. DO NOT EDIT.
|
|
|
|
module NgrokAPI
|
|
module Models
|
|
class EndpointOAuthFacebook
|
|
attr_reader :client,
|
|
:attrs,
|
|
:client_id,
|
|
:client_secret,
|
|
:scopes,
|
|
:email_addresses,
|
|
:email_domains
|
|
|
|
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
|
|
|
|
def ==(other)
|
|
@attrs == other.attrs
|
|
end
|
|
|
|
def to_s
|
|
@attrs.to_s
|
|
end
|
|
|
|
def to_h
|
|
@attrs.to_h
|
|
end
|
|
end
|
|
end
|
|
end
|