Class: DMMCrawler::Attributes::DojinAttributes

Inherits:
BaseAttributes show all
Defined in:
lib/dmm-crawler/attributes/dojin_attributes.rb

Constant Summary

Constants inherited from BaseAttributes

BaseAttributes::HTTP_STATUS_CODE_OF_SUCCESS

Instance Method Summary collapse

Methods inherited from BaseAttributes

#initialize

Constructor Details

This class inherits a constructor from DMMCrawler::Attributes::BaseAttributes

Instance Method Details

#to_aObject



6
7
8
9
10
11
12
13
14
15
16
# File 'lib/dmm-crawler/attributes/dojin_attributes.rb', line 6

def to_a
  [
    title,
    title_link,
    image_url,
    submedia,
    author,
    affiliateable?,
    tags
  ]
end