Class: Twitter::ComposerError

Inherits:
Object
  • Object
show all
Defined in:
lib/twittermotion/composer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_imagesObject

Returns the value of attribute invalid_images.



4
5
6
# File 'lib/twittermotion/composer.rb', line 4

def invalid_images
  @invalid_images
end

#invalid_tweetObject

Returns the value of attribute invalid_tweet.



3
4
5
# File 'lib/twittermotion/composer.rb', line 3

def invalid_tweet
  @invalid_tweet
end

#invalid_urlsObject

Returns the value of attribute invalid_urls.



5
6
7
# File 'lib/twittermotion/composer.rb', line 5

def invalid_urls
  @invalid_urls
end