Class: NgrokAPI::Models::EndpointOAuthProvider
- Inherits:
- 
      Object
      
        - Object
- NgrokAPI::Models::EndpointOAuthProvider
 
- Defined in:
- lib/ngrokapi/models/endpoint_o_auth_provider.rb
Instance Attribute Summary collapse
- 
  
    
      #amazon  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute amazon. 
- 
  
    
      #attrs  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute attrs. 
- 
  
    
      #client  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute client. 
- 
  
    
      #facebook  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute facebook. 
- 
  
    
      #github  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute github. 
- 
  
    
      #gitlab  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute gitlab. 
- 
  
    
      #google  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute google. 
- 
  
    
      #linkedin  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute linkedin. 
- 
  
    
      #microsoft  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute microsoft. 
- 
  
    
      #twitch  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute twitch. 
Instance Method Summary collapse
- #==(other) ⇒ Object
- 
  
    
      #initialize(client: nil, attrs: {})  ⇒ EndpointOAuthProvider 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of EndpointOAuthProvider. 
- #to_h ⇒ Object
- #to_s ⇒ Object
Constructor Details
#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 | 
Instance Attribute Details
#amazon ⇒ Object (readonly)
Returns the value of attribute amazon.
| 8 9 10 | # File 'lib/ngrokapi/models/endpoint_o_auth_provider.rb', line 8 def amazon @amazon end | 
#attrs ⇒ Object (readonly)
Returns the value of attribute attrs.
| 8 9 10 | # File 'lib/ngrokapi/models/endpoint_o_auth_provider.rb', line 8 def attrs @attrs end | 
#client ⇒ Object (readonly)
Returns the value of attribute client.
| 8 9 10 | # File 'lib/ngrokapi/models/endpoint_o_auth_provider.rb', line 8 def client @client end | 
#facebook ⇒ Object (readonly)
Returns the value of attribute facebook.
| 8 9 10 | # File 'lib/ngrokapi/models/endpoint_o_auth_provider.rb', line 8 def facebook @facebook end | 
#github ⇒ Object (readonly)
Returns the value of attribute github.
| 8 9 10 | # File 'lib/ngrokapi/models/endpoint_o_auth_provider.rb', line 8 def github @github end | 
#gitlab ⇒ Object (readonly)
Returns the value of attribute gitlab.
| 8 9 10 | # File 'lib/ngrokapi/models/endpoint_o_auth_provider.rb', line 8 def gitlab @gitlab end | 
#google ⇒ Object (readonly)
Returns the value of attribute google.
| 8 9 10 | # File 'lib/ngrokapi/models/endpoint_o_auth_provider.rb', line 8 def google @google end | 
#linkedin ⇒ Object (readonly)
Returns the value of attribute linkedin.
| 8 9 10 | # File 'lib/ngrokapi/models/endpoint_o_auth_provider.rb', line 8 def linkedin @linkedin end | 
#microsoft ⇒ Object (readonly)
Returns the value of attribute microsoft.
| 8 9 10 | # File 'lib/ngrokapi/models/endpoint_o_auth_provider.rb', line 8 def microsoft @microsoft end | 
#twitch ⇒ Object (readonly)
Returns the value of attribute twitch.
| 8 9 10 | # File 'lib/ngrokapi/models/endpoint_o_auth_provider.rb', line 8 def twitch @twitch end | 
Instance Method Details
#==(other) ⇒ Object
| 32 33 34 | # File 'lib/ngrokapi/models/endpoint_o_auth_provider.rb', line 32 def ==(other) @attrs == other.attrs end | 
#to_h ⇒ Object
| 40 41 42 | # File 'lib/ngrokapi/models/endpoint_o_auth_provider.rb', line 40 def to_h @attrs.to_h end | 
#to_s ⇒ Object
| 36 37 38 | # File 'lib/ngrokapi/models/endpoint_o_auth_provider.rb', line 36 def to_s @attrs.to_s end |