Class: Giphy::FlaggedGif
Instance Method Summary
collapse
Methods inherited from SpecialGif
build_batch_from, #create_date, #gif_id, #initialize
Instance Method Details
#inappropriate? ⇒ Boolean
6
7
8
9
|
# File 'lib/giphy/flagged_gif.rb', line 6
def inappropriate?
puts hash.fetch('is_inappropriate')
hash.fetch('is_inappropriate') == "1"
end
|
#source_corrected ⇒ Object
15
16
17
|
# File 'lib/giphy/flagged_gif.rb', line 15
def source_corrected
hash.fetch('source_corrected')
end
|
#wrong_source? ⇒ Boolean
11
12
13
|
# File 'lib/giphy/flagged_gif.rb', line 11
def wrong_source?
hash.fetch('is_wrong_source') == "1"
end
|