Class: PlayStoreInfo::AppParser

Inherits:
Object
  • Object
show all
Includes:
Readers
Defined in:
lib/play_store_info/app_parser.rb

Instance Method Summary collapse

Methods included from Readers

included, #scrape_data, #to_hash, #to_json

Constructor Details

#initialize(id, body) ⇒ AppParser

Returns a new instance of AppParser.



9
10
11
12
13
14
15
16
# File 'lib/play_store_info/app_parser.rb', line 9

def initialize(id, body)
  @id = id
  @body = body

  scrape_data

  self
end