Class: Whoosh::ClientGen::IR::AppSpec
- Inherits:
-
Struct
- Object
- Struct
- Whoosh::ClientGen::IR::AppSpec
- Defined in:
- lib/whoosh/client_gen/ir.rb
Instance Attribute Summary collapse
-
#auth ⇒ Object
Returns the value of attribute auth.
-
#base_url ⇒ Object
Returns the value of attribute base_url.
-
#resources ⇒ Object
Returns the value of attribute resources.
-
#streaming ⇒ Object
Returns the value of attribute streaming.
Instance Method Summary collapse
Instance Attribute Details
#auth ⇒ Object
Returns the value of attribute auth
26 27 28 |
# File 'lib/whoosh/client_gen/ir.rb', line 26 def auth @auth end |
#base_url ⇒ Object
Returns the value of attribute base_url
26 27 28 |
# File 'lib/whoosh/client_gen/ir.rb', line 26 def base_url @base_url end |
#resources ⇒ Object
Returns the value of attribute resources
26 27 28 |
# File 'lib/whoosh/client_gen/ir.rb', line 26 def resources @resources end |
#streaming ⇒ Object
Returns the value of attribute streaming
26 27 28 |
# File 'lib/whoosh/client_gen/ir.rb', line 26 def streaming @streaming end |
Instance Method Details
#has_auth? ⇒ Boolean
31 32 33 |
# File 'lib/whoosh/client_gen/ir.rb', line 31 def has_auth? !auth.nil? end |
#has_resources? ⇒ Boolean
27 28 29 |
# File 'lib/whoosh/client_gen/ir.rb', line 27 def has_resources? resources && !resources.empty? end |