Sha256: ee4ba5866c0684ba044f32a7b21340f11b8610b543902985e0eb10dc2625fe12

Contents?: true

Size: 959 Bytes

Versions: 2

Compression:

Stored size: 959 Bytes

Contents

module OpenBD
  module Resources
    class Hanmoto

      # Review
      #
      # 書評
      class Review < BaseResource

        # 情報源
        def source
          src["source"]
        end

        # 朝刊・夕刊
        def choyukan
          src["choyukan"]
        end

        # 版
        def han
          src["han"]
        end

        # 情報源ID
        # @return [Integer]
        def source_id
          src["source_id"]
        end

        # 評者
        def reviewer
          src["reviewer"]
        end

        # 書評掲載日
        def appearance
          src["appearance"]
        end

        # 投稿ユーザー
        def post_user
          src["post_user"]
        end

        # リンク(URL)
        # @return [String]
        def link
          src["link"]
        end

        # 区分ID
        # @return [Integer]
        def kubun_id
          src["kubun_id"]
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
openbd_api-0.6.1 lib/openbd/resources/hanmoto/review.rb
openbd_api-0.6.0 lib/openbd/resources/hanmoto/review.rb