Class: ThumbsYup::Configuration
- Inherits:
-
Object
- Object
- ThumbsYup::Configuration
- Defined in:
- lib/thumbs_yup/configuration.rb
Instance Attribute Summary collapse
-
#review_background ⇒ Object
Returns the value of attribute review_background.
-
#review_color ⇒ Object
Returns the value of attribute review_color.
-
#review_size ⇒ Object
Returns the value of attribute review_size.
-
#review_style ⇒ Object
Returns the value of attribute review_style.
-
#thumbs_yup_url ⇒ Object
Returns the value of attribute thumbs_yup_url.
-
#user_identifier ⇒ Object
Returns the value of attribute user_identifier.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
10 11 12 13 14 15 16 |
# File 'lib/thumbs_yup/configuration.rb', line 10 def initialize @review_style = 'bubble' @review_color = 'blue' @review_background = 'hollow' @review_size = 'med' @thumbs_yup_url = 'https://www.thumbsyup.com' end |
Instance Attribute Details
#review_background ⇒ Object
Returns the value of attribute review_background.
6 7 8 |
# File 'lib/thumbs_yup/configuration.rb', line 6 def review_background @review_background end |
#review_color ⇒ Object
Returns the value of attribute review_color.
5 6 7 |
# File 'lib/thumbs_yup/configuration.rb', line 5 def review_color @review_color end |
#review_size ⇒ Object
Returns the value of attribute review_size.
7 8 9 |
# File 'lib/thumbs_yup/configuration.rb', line 7 def review_size @review_size end |
#review_style ⇒ Object
Returns the value of attribute review_style.
4 5 6 |
# File 'lib/thumbs_yup/configuration.rb', line 4 def review_style @review_style end |
#thumbs_yup_url ⇒ Object
Returns the value of attribute thumbs_yup_url.
8 9 10 |
# File 'lib/thumbs_yup/configuration.rb', line 8 def thumbs_yup_url @thumbs_yup_url end |
#user_identifier ⇒ Object
Returns the value of attribute user_identifier.
3 4 5 |
# File 'lib/thumbs_yup/configuration.rb', line 3 def user_identifier @user_identifier end |