Sha256: b2c2fb3f50884f3c5b321acdb767bbcc8cbb1c8354d6146f03bb63c3dfbce6fa

Contents?: true

Size: 904 Bytes

Versions: 25

Compression:

Stored size: 904 Bytes

Contents

module Exlibris
  module Primo
    module WebService
      module Response
        # 
        # 
        # 
        class Reviews < Base
          self.abstract = true
        end

        # 
        # 
        # 
        class GetReviews < Reviews
          def reviews
            @reviews ||= xml.root.xpath("//tags_reviews:Review", response_namespaces).collect { |review|
                Exlibris::Primo::Review.new(:raw_xml => review.to_xml) }
          end
        end

        # 
        # 
        # 
        class GetAllMyReviews < GetReviews; end

        # 
        # 
        # 
        class GetReviewsForRecord < GetReviews; end

        # 
        # 
        # 
        class GetReviewsByRating < GetReviews; end

        # 
        # 
        # 
        class AddReview < Reviews; end

        # 
        # 
        # 
        class RemoveReview < Reviews; end
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
exlibris-primo-2.1.1 lib/exlibris/primo/web_service/response/reviews.rb
exlibris-primo-2.1.0 lib/exlibris/primo/web_service/response/reviews.rb
exlibris-primo-2.0.0 lib/exlibris/primo/web_service/response/reviews.rb
exlibris-primo-1.1.9 lib/exlibris/primo/web_service/response/reviews.rb
exlibris-primo-1.1.8 lib/exlibris/primo/web_service/response/reviews.rb
exlibris-primo-1.1.7 lib/exlibris/primo/web_service/response/reviews.rb
exlibris-primo-1.1.6 lib/exlibris/primo/web_service/response/reviews.rb
exlibris-primo-1.1.5 lib/exlibris/primo/web_service/response/reviews.rb
exlibris-primo-1.1.4 lib/exlibris/primo/web_service/response/reviews.rb
exlibris-primo-1.1.3 lib/exlibris/primo/web_service/response/reviews.rb
exlibris-primo-1.1.2 lib/exlibris/primo/web_service/response/reviews.rb
exlibris-primo-1.1.1 lib/exlibris/primo/web_service/response/reviews.rb
exlibris-primo-1.1.0 lib/exlibris/primo/web_service/response/reviews.rb
exlibris-primo-1.0.11 lib/exlibris/primo/web_service/response/reviews.rb
exlibris-primo-1.0.10 lib/exlibris/primo/web_service/response/reviews.rb
exlibris-primo-1.0.9 lib/exlibris/primo/web_service/response/reviews.rb
exlibris-primo-1.0.8 lib/exlibris/primo/web_service/response/reviews.rb
exlibris-primo-1.0.7 lib/exlibris/primo/web_service/response/reviews.rb
exlibris-primo-1.0.6 lib/exlibris/primo/web_service/response/reviews.rb
exlibris-primo-1.0.5 lib/exlibris/primo/web_service/response/reviews.rb