Class: OneLogin::Api::Models::ConnectorBasic

Inherits:
Object
  • Object
show all
Defined in:
lib/onelogin/api/models/connector_basic.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ ConnectorBasic

Returns a new instance of ConnectorBasic.


10
11
12
13
14
15
16
# File 'lib/onelogin/api/models/connector_basic.rb', line 10

def initialize(data)
  @id = data['id']
  @name = data['name']
  @icon_url = data['icon_url']
  @auth_method = data['auth_method']
  @allows_new_parameters = data['allows_new_parameters']
end

Instance Attribute Details

#allows_new_parametersObject

Returns the value of attribute allows_new_parameters.


8
9
10
# File 'lib/onelogin/api/models/connector_basic.rb', line 8

def allows_new_parameters
  @allows_new_parameters
end

#auth_methodObject

Returns the value of attribute auth_method.


7
8
9
# File 'lib/onelogin/api/models/connector_basic.rb', line 7

def auth_method
  @auth_method
end

#icon_urlObject

Returns the value of attribute icon_url.


8
9
10
# File 'lib/onelogin/api/models/connector_basic.rb', line 8

def icon_url
  @icon_url
end

#idObject

Returns the value of attribute id.


7
8
9
# File 'lib/onelogin/api/models/connector_basic.rb', line 7

def id
  @id
end

#nameObject

Returns the value of attribute name.


7
8
9
# File 'lib/onelogin/api/models/connector_basic.rb', line 7

def name
  @name
end