Module: RandomYoutubeComment
- Defined in:
- lib/random_youtube_comment.rb,
lib/random_youtube_comment/comment.rb,
lib/random_youtube_comment/version.rb,
lib/random_youtube_comment/configuration.rb,
lib/random_youtube_comment/wordnik_client.rb,
lib/random_youtube_comment/youtube_client.rb
Defined Under Namespace
Classes: Comment, Configuration, WordnikClient, YoutubeClient
Constant Summary collapse
- VERSION =
'0.1.1'
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
7 8 9 |
# File 'lib/random_youtube_comment/configuration.rb', line 7 def configuration @configuration end |
Class Method Details
.comment ⇒ Object
9 10 11 |
# File 'lib/random_youtube_comment.rb', line 9 def comment RandomYoutubeComment::Comment.new end |
.setup {|configuration| ... } ⇒ Object
9 10 11 12 |
# File 'lib/random_youtube_comment/configuration.rb', line 9 def setup self.configuration ||= Configuration.new yield configuration end |