Class: Helios::Videos::Configuration
- Inherits:
-
Object
- Object
- Helios::Videos::Configuration
- Defined in:
- lib/helios/videos/configuration.rb
Instance Attribute Summary collapse
-
#admin_parent_controller ⇒ Object
Returns the value of attribute admin_parent_controller.
-
#cloudflare_account_id ⇒ Object
Returns the value of attribute cloudflare_account_id.
-
#cloudflare_api_token ⇒ Object
Returns the value of attribute cloudflare_api_token.
-
#cloudflare_customer_subdomain ⇒ Object
Returns the value of attribute cloudflare_customer_subdomain.
-
#mux_token_id ⇒ Object
Returns the value of attribute mux_token_id.
-
#mux_token_secret ⇒ Object
Returns the value of attribute mux_token_secret.
-
#processor ⇒ Object
Returns the value of attribute processor.
-
#require_signed_urls ⇒ Object
Returns the value of attribute require_signed_urls.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
15 16 17 18 19 20 21 22 23 24 |
# File 'lib/helios/videos/configuration.rb', line 15 def initialize @processor = :cloudflare @require_signed_urls = true @admin_parent_controller = "ApplicationController" @cloudflare_account_id = ENV["CLOUDFLARE_ACCOUNT_ID"] @cloudflare_api_token = ENV["CLOUDFLARE_API_TOKEN"] @cloudflare_customer_subdomain = ENV["CLOUDFLARE_CUSTOMER_SUBDOMAIN"] @mux_token_id = ENV["MUX_TOKEN_ID"] @mux_token_secret = ENV["MUX_TOKEN_SECRET"] end |
Instance Attribute Details
#admin_parent_controller ⇒ Object
Returns the value of attribute admin_parent_controller.
4 5 6 |
# File 'lib/helios/videos/configuration.rb', line 4 def admin_parent_controller @admin_parent_controller end |
#cloudflare_account_id ⇒ Object
Returns the value of attribute cloudflare_account_id.
4 5 6 |
# File 'lib/helios/videos/configuration.rb', line 4 def cloudflare_account_id @cloudflare_account_id end |
#cloudflare_api_token ⇒ Object
Returns the value of attribute cloudflare_api_token.
4 5 6 |
# File 'lib/helios/videos/configuration.rb', line 4 def cloudflare_api_token @cloudflare_api_token end |
#cloudflare_customer_subdomain ⇒ Object
Returns the value of attribute cloudflare_customer_subdomain.
4 5 6 |
# File 'lib/helios/videos/configuration.rb', line 4 def cloudflare_customer_subdomain @cloudflare_customer_subdomain end |
#mux_token_id ⇒ Object
Returns the value of attribute mux_token_id.
4 5 6 |
# File 'lib/helios/videos/configuration.rb', line 4 def mux_token_id @mux_token_id end |
#mux_token_secret ⇒ Object
Returns the value of attribute mux_token_secret.
4 5 6 |
# File 'lib/helios/videos/configuration.rb', line 4 def mux_token_secret @mux_token_secret end |
#processor ⇒ Object
Returns the value of attribute processor.
4 5 6 |
# File 'lib/helios/videos/configuration.rb', line 4 def processor @processor end |
#require_signed_urls ⇒ Object
Returns the value of attribute require_signed_urls.
4 5 6 |
# File 'lib/helios/videos/configuration.rb', line 4 def require_signed_urls @require_signed_urls end |