Class: NgrokAPI::Models::EndpointOAuthFacebook
- Inherits:
-
Object
- Object
- NgrokAPI::Models::EndpointOAuthFacebook
- Defined in:
- lib/ngrokapi/models/endpoint_o_auth_facebook.rb
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
-
#client_id ⇒ Object
readonly
Returns the value of attribute client_id.
-
#client_secret ⇒ Object
readonly
Returns the value of attribute client_secret.
-
#email_addresses ⇒ Object
readonly
Returns the value of attribute email_addresses.
-
#email_domains ⇒ Object
readonly
Returns the value of attribute email_domains.
-
#result ⇒ Object
readonly
Returns the value of attribute result.
-
#scopes ⇒ Object
readonly
Returns the value of attribute scopes.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(client:, result:) ⇒ EndpointOAuthFacebook
constructor
A new instance of EndpointOAuthFacebook.
- #to_s ⇒ Object
Constructor Details
#initialize(client:, result:) ⇒ EndpointOAuthFacebook
Returns a new instance of EndpointOAuthFacebook.
14 15 16 17 18 19 20 21 22 |
# File 'lib/ngrokapi/models/endpoint_o_auth_facebook.rb', line 14 def initialize(client:, result:) @client = client @result = result @client_id = @result['client_id'] @client_secret = @result['client_secret'] @scopes = @result['scopes'] @email_addresses = @result['email_addresses'] @email_domains = @result['email_domains'] end |
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
6 7 8 |
# File 'lib/ngrokapi/models/endpoint_o_auth_facebook.rb', line 6 def client @client end |
#client_id ⇒ Object (readonly)
Returns the value of attribute client_id.
6 7 8 |
# File 'lib/ngrokapi/models/endpoint_o_auth_facebook.rb', line 6 def client_id @client_id end |
#client_secret ⇒ Object (readonly)
Returns the value of attribute client_secret.
6 7 8 |
# File 'lib/ngrokapi/models/endpoint_o_auth_facebook.rb', line 6 def client_secret @client_secret end |
#email_addresses ⇒ Object (readonly)
Returns the value of attribute email_addresses.
6 7 8 |
# File 'lib/ngrokapi/models/endpoint_o_auth_facebook.rb', line 6 def email_addresses @email_addresses end |
#email_domains ⇒ Object (readonly)
Returns the value of attribute email_domains.
6 7 8 |
# File 'lib/ngrokapi/models/endpoint_o_auth_facebook.rb', line 6 def email_domains @email_domains end |
#result ⇒ Object (readonly)
Returns the value of attribute result.
6 7 8 |
# File 'lib/ngrokapi/models/endpoint_o_auth_facebook.rb', line 6 def result @result end |
#scopes ⇒ Object (readonly)
Returns the value of attribute scopes.
6 7 8 |
# File 'lib/ngrokapi/models/endpoint_o_auth_facebook.rb', line 6 def scopes @scopes end |
Instance Method Details
#==(other) ⇒ Object
24 25 26 |
# File 'lib/ngrokapi/models/endpoint_o_auth_facebook.rb', line 24 def ==(other) @result == other.result end |
#to_s ⇒ Object
28 29 30 |
# File 'lib/ngrokapi/models/endpoint_o_auth_facebook.rb', line 28 def to_s @result.to_s end |