Class: Bluebird::Config
- Inherits:
-
Object
- Object
- Bluebird::Config
- Defined in:
- lib/bluebird/config.rb
Class Attribute Summary collapse
-
.characters_reserved_per_media ⇒ Object
Returns the value of attribute characters_reserved_per_media.
-
.max_length ⇒ Object
Returns the value of attribute max_length.
-
.short_url_length ⇒ Object
Returns the value of attribute short_url_length.
-
.short_url_length_https ⇒ Object
Returns the value of attribute short_url_length_https.
-
.strategies ⇒ Object
Returns the value of attribute strategies.
Class Method Summary collapse
Class Attribute Details
.characters_reserved_per_media ⇒ Object
Returns the value of attribute characters_reserved_per_media.
11 12 13 |
# File 'lib/bluebird/config.rb', line 11 def characters_reserved_per_media @characters_reserved_per_media end |
.max_length ⇒ Object
Returns the value of attribute max_length.
11 12 13 |
# File 'lib/bluebird/config.rb', line 11 def max_length @max_length end |
.short_url_length ⇒ Object
Returns the value of attribute short_url_length.
11 12 13 |
# File 'lib/bluebird/config.rb', line 11 def short_url_length @short_url_length end |
.short_url_length_https ⇒ Object
Returns the value of attribute short_url_length_https.
11 12 13 |
# File 'lib/bluebird/config.rb', line 11 def short_url_length_https @short_url_length_https end |
.strategies ⇒ Object
Returns the value of attribute strategies.
11 12 13 |
# File 'lib/bluebird/config.rb', line 11 def strategies @strategies end |
Class Method Details
.register(name, klass) ⇒ Object
13 14 15 16 |
# File 'lib/bluebird/config.rb', line 13 def register(name, klass) singleton_class.send(:attr_accessor, name) send("#{name}=", klass) end |