class ComicVine::Resource::Movie
Extends {ComicVine::Resource::Movie} to add mongoid functions @since 0.1.2
Public Instance Methods
has_staff_review=(value)
click to toggle source
Accounts for ComicVine's miss-match return of false if no review exists. Sets an empty hash @param value [Hash] @since 0.1.0
Calls superclass method
# File lib/comicvine/mongo.rb, line 507 def has_staff_review=(value) if value.nil? || value.kind_of?(FalseClass) self.has_staff_review = {} else super end end
has_staff_review?()
click to toggle source
@return [true, false]
# File lib/comicvine/mongo.rb, line 517 def has_staff_review? !self.has_staff_review.empty? end