Class: Kward::ProviderCatalog::Definition
- Inherits:
-
Struct
- Object
- Struct
- Kward::ProviderCatalog::Definition
- Defined in:
- lib/kward/model/provider_catalog.rb
Instance Attribute Summary collapse
-
#api_key_env ⇒ Object
Returns the value of attribute api_key_env.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#oauth_name ⇒ Object
Returns the value of attribute oauth_name.
-
#protocol ⇒ Object
Returns the value of attribute protocol.
-
#requires_setup ⇒ Object
Returns the value of attribute requires_setup.
Instance Method Summary collapse
Instance Attribute Details
#api_key_env ⇒ Object
Returns the value of attribute api_key_env
6 7 8 |
# File 'lib/kward/model/provider_catalog.rb', line 6 def api_key_env @api_key_env end |
#id ⇒ Object
Returns the value of attribute id
6 7 8 |
# File 'lib/kward/model/provider_catalog.rb', line 6 def id @id end |
#name ⇒ Object
Returns the value of attribute name
6 7 8 |
# File 'lib/kward/model/provider_catalog.rb', line 6 def name @name end |
#oauth_name ⇒ Object
Returns the value of attribute oauth_name
6 7 8 |
# File 'lib/kward/model/provider_catalog.rb', line 6 def oauth_name @oauth_name end |
#protocol ⇒ Object
Returns the value of attribute protocol
6 7 8 |
# File 'lib/kward/model/provider_catalog.rb', line 6 def protocol @protocol end |
#requires_setup ⇒ Object
Returns the value of attribute requires_setup
6 7 8 |
# File 'lib/kward/model/provider_catalog.rb', line 6 def requires_setup @requires_setup end |
Instance Method Details
#api_key? ⇒ Boolean
15 16 17 |
# File 'lib/kward/model/provider_catalog.rb', line 15 def api_key? !api_key_env.empty? end |
#oauth? ⇒ Boolean
19 20 21 |
# File 'lib/kward/model/provider_catalog.rb', line 19 def oauth? !oauth_name.nil? end |