Class: OpenBD::Resources::Hanmoto::Review

Inherits:
BaseResource show all
Defined in:
lib/openbd/resources/hanmoto/review.rb

Overview

Review

書評

Instance Attribute Summary

Attributes inherited from BaseResource

#src

Instance Method Summary collapse

Methods inherited from BaseResource

#initialize

Constructor Details

This class inherits a constructor from OpenBD::Resources::BaseResource

Instance Method Details

#appearanceObject

書評掲載日



37
38
39
# File 'lib/openbd/resources/hanmoto/review.rb', line 37

def appearance
  src["appearance"]
end

#choyukanObject

朝刊・夕刊



16
17
18
# File 'lib/openbd/resources/hanmoto/review.rb', line 16

def choyukan
  src["choyukan"]
end

#hanObject



21
22
23
# File 'lib/openbd/resources/hanmoto/review.rb', line 21

def han
  src["han"]
end

#kubun_idInteger

区分ID

Returns:

  • (Integer)


54
55
56
# File 'lib/openbd/resources/hanmoto/review.rb', line 54

def kubun_id
  src["kubun_id"]
end

リンク(URL)

Returns:

  • (String)


48
49
50
# File 'lib/openbd/resources/hanmoto/review.rb', line 48

def link
  src["link"]
end

#post_userObject

投稿ユーザー



42
43
44
# File 'lib/openbd/resources/hanmoto/review.rb', line 42

def post_user
  src["post_user"]
end

#reviewerObject

評者



32
33
34
# File 'lib/openbd/resources/hanmoto/review.rb', line 32

def reviewer
  src["reviewer"]
end

#sourceObject

情報源



11
12
13
# File 'lib/openbd/resources/hanmoto/review.rb', line 11

def source
  src["source"]
end

#source_idInteger

情報源ID

Returns:

  • (Integer)


27
28
29
# File 'lib/openbd/resources/hanmoto/review.rb', line 27

def source_id
  src["source_id"]
end