Class: Ralyxa::Configuration
- Inherits:
-
Object
- Object
- Ralyxa::Configuration
- Defined in:
- lib/ralyxa/configuration.rb
Instance Attribute Summary collapse
-
#require_secure_urls ⇒ Object
Returns the value of attribute require_secure_urls.
-
#validate_requests ⇒ Object
Returns the value of attribute validate_requests.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
- #require_secure_urls? ⇒ Boolean
- #validate_requests? ⇒ Boolean
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 |
# File 'lib/ralyxa/configuration.rb', line 5 def initialize @validate_requests = true @require_secure_urls = true end |
Instance Attribute Details
#require_secure_urls ⇒ Object
Returns the value of attribute require_secure_urls.
3 4 5 |
# File 'lib/ralyxa/configuration.rb', line 3 def require_secure_urls @require_secure_urls end |
#validate_requests ⇒ Object
Returns the value of attribute validate_requests.
3 4 5 |
# File 'lib/ralyxa/configuration.rb', line 3 def validate_requests @validate_requests end |
Instance Method Details
#require_secure_urls? ⇒ Boolean
14 15 16 |
# File 'lib/ralyxa/configuration.rb', line 14 def require_secure_urls? require_secure_urls end |
#validate_requests? ⇒ Boolean
10 11 12 |
# File 'lib/ralyxa/configuration.rb', line 10 def validate_requests? validate_requests end |