Class: BroadcastHub::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/broadcast_hub/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_resourcesObject

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_scopeObject

Returns the value of attribute authorize_scope.



5
6
7
# File 'lib/broadcast_hub/configuration.rb', line 5

def authorize_scope
  @authorize_scope
end

#payload_versionObject

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_resolverObject

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_validationObject

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_strategyObject

Returns the value of attribute update_strategy.



5
6
7
# File 'lib/broadcast_hub/configuration.rb', line 5

def update_strategy
  @update_strategy
end