Class: Twitter::ComposerError
- Inherits:
-
Object
- Object
- Twitter::ComposerError
- Defined in:
- lib/twittermotion/composer.rb
Instance Attribute Summary collapse
-
#invalid_images ⇒ Object
Returns the value of attribute invalid_images.
-
#invalid_tweet ⇒ Object
Returns the value of attribute invalid_tweet.
-
#invalid_urls ⇒ Object
Returns the value of attribute invalid_urls.
Instance Method Summary collapse
-
#initialize(tweet = nil, images = nil, urls = nil) ⇒ ComposerError
constructor
A new instance of ComposerError.
Constructor Details
#initialize(tweet = nil, images = nil, urls = nil) ⇒ ComposerError
Returns a new instance of ComposerError.
7 8 9 10 11 |
# File 'lib/twittermotion/composer.rb', line 7 def initialize(tweet = nil, images = nil, urls = nil) self.invalid_tweet = tweet self.invalid_images = images self.invalid_urls = urls end |
Instance Attribute Details
#invalid_images ⇒ Object
Returns the value of attribute invalid_images.
4 5 6 |
# File 'lib/twittermotion/composer.rb', line 4 def invalid_images @invalid_images end |
#invalid_tweet ⇒ Object
Returns the value of attribute invalid_tweet.
3 4 5 |
# File 'lib/twittermotion/composer.rb', line 3 def invalid_tweet @invalid_tweet end |
#invalid_urls ⇒ Object
Returns the value of attribute invalid_urls.
5 6 7 |
# File 'lib/twittermotion/composer.rb', line 5 def invalid_urls @invalid_urls end |