Class: ThumbsYup::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_backgroundObject

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_colorObject

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_sizeObject

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_styleObject

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_urlObject

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_identifierObject

Returns the value of attribute user_identifier.



3
4
5
# File 'lib/thumbs_yup/configuration.rb', line 3

def user_identifier
  @user_identifier
end