Class: Ralyxa::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_urlsObject

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_requestsObject

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

Returns:

  • (Boolean)


14
15
16
# File 'lib/ralyxa/configuration.rb', line 14

def require_secure_urls?
  require_secure_urls
end

#validate_requests?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/ralyxa/configuration.rb', line 10

def validate_requests?
  validate_requests
end