Class: BroadcastHub::Configuration
- Inherits:
-
Object
- Object
- BroadcastHub::Configuration
- Defined in:
- lib/broadcast_hub/configuration.rb
Instance Attribute Summary collapse
-
#allowed_resources ⇒ Object
Returns the value of attribute allowed_resources.
-
#authorize_scope ⇒ Object
Returns the value of attribute authorize_scope.
-
#payload_version ⇒ Object
Returns the value of attribute payload_version.
-
#stream_key_resolver ⇒ Object
Returns the value of attribute stream_key_resolver.
-
#strict_client_validation ⇒ Object
Returns the value of attribute strict_client_validation.
-
#update_strategy ⇒ Object
Returns the value of attribute update_strategy.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
12 13 14 15 16 17 18 19 |
# File 'lib/broadcast_hub/configuration.rb', line 12 def initialize @payload_version = 1 @update_strategy = :replace_with @strict_client_validation = false @allowed_resources = [] @authorize_scope = nil @stream_key_resolver = nil end |
Instance Attribute Details
#allowed_resources ⇒ Object
Returns the value of attribute allowed_resources.
5 6 7 |
# File 'lib/broadcast_hub/configuration.rb', line 5 def allowed_resources @allowed_resources end |
#authorize_scope ⇒ Object
Returns the value of attribute authorize_scope.
5 6 7 |
# File 'lib/broadcast_hub/configuration.rb', line 5 def @authorize_scope end |
#payload_version ⇒ Object
Returns the value of attribute payload_version.
5 6 7 |
# File 'lib/broadcast_hub/configuration.rb', line 5 def payload_version @payload_version end |
#stream_key_resolver ⇒ Object
Returns the value of attribute stream_key_resolver.
5 6 7 |
# File 'lib/broadcast_hub/configuration.rb', line 5 def stream_key_resolver @stream_key_resolver end |
#strict_client_validation ⇒ Object
Returns the value of attribute strict_client_validation.
5 6 7 |
# File 'lib/broadcast_hub/configuration.rb', line 5 def strict_client_validation @strict_client_validation end |
#update_strategy ⇒ Object
Returns the value of attribute update_strategy.
5 6 7 |
# File 'lib/broadcast_hub/configuration.rb', line 5 def update_strategy @update_strategy end |