Class: ShipEasyI18n::Configuration
- Inherits:
-
Object
- Object
- ShipEasyI18n::Configuration
- Defined in:
- lib/i18n/rails/configuration.rb
Instance Attribute Summary collapse
-
#cdn_base_url ⇒ Object
Returns the value of attribute cdn_base_url.
-
#default_chunk ⇒ Object
Returns the value of attribute default_chunk.
-
#http_timeout ⇒ Object
Returns the value of attribute http_timeout.
-
#label_file_cache_ttl ⇒ Object
Returns the value of attribute label_file_cache_ttl.
-
#loader_url ⇒ Object
Returns the value of attribute loader_url.
-
#manifest_cache_ttl ⇒ Object
Returns the value of attribute manifest_cache_ttl.
-
#profile ⇒ Object
Returns the value of attribute profile.
-
#public_key ⇒ Object
Returns the value of attribute public_key.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
6 7 8 9 10 11 12 13 |
# File 'lib/i18n/rails/configuration.rb', line 6 def initialize @default_chunk = "index" @cdn_base_url = "https://cdn.i18n.shipeasy.ai" @loader_url = "https://cdn.i18n.shipeasy.ai/loader.js" @manifest_cache_ttl = 60 @label_file_cache_ttl = 3600 @http_timeout = 1 end |
Instance Attribute Details
#cdn_base_url ⇒ Object
Returns the value of attribute cdn_base_url.
3 4 5 |
# File 'lib/i18n/rails/configuration.rb', line 3 def cdn_base_url @cdn_base_url end |
#default_chunk ⇒ Object
Returns the value of attribute default_chunk.
3 4 5 |
# File 'lib/i18n/rails/configuration.rb', line 3 def default_chunk @default_chunk end |
#http_timeout ⇒ Object
Returns the value of attribute http_timeout.
3 4 5 |
# File 'lib/i18n/rails/configuration.rb', line 3 def http_timeout @http_timeout end |
#label_file_cache_ttl ⇒ Object
Returns the value of attribute label_file_cache_ttl.
3 4 5 |
# File 'lib/i18n/rails/configuration.rb', line 3 def label_file_cache_ttl @label_file_cache_ttl end |
#loader_url ⇒ Object
Returns the value of attribute loader_url.
3 4 5 |
# File 'lib/i18n/rails/configuration.rb', line 3 def loader_url @loader_url end |
#manifest_cache_ttl ⇒ Object
Returns the value of attribute manifest_cache_ttl.
3 4 5 |
# File 'lib/i18n/rails/configuration.rb', line 3 def manifest_cache_ttl @manifest_cache_ttl end |
#profile ⇒ Object
Returns the value of attribute profile.
3 4 5 |
# File 'lib/i18n/rails/configuration.rb', line 3 def profile @profile end |
#public_key ⇒ Object
Returns the value of attribute public_key.
3 4 5 |
# File 'lib/i18n/rails/configuration.rb', line 3 def public_key @public_key end |