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
|
# File 'lib/giphy/flagged_gif.rb', line 6
def inappropriate?
hash.fetch('is_inappropriate') == "1"
end
|
#source_corrected ⇒ Object
14
15
16
|
# File 'lib/giphy/flagged_gif.rb', line 14
def source_corrected
hash.fetch('source_corrected')
end
|
#wrong_source? ⇒ Boolean
10
11
12
|
# File 'lib/giphy/flagged_gif.rb', line 10
def wrong_source?
hash.fetch('is_wrong_source') == "1"
end
|