Class: Xing::Snapshot::RemoteSiteSnapshot

Inherits:
SiteSnapshot show all
Defined in:
lib/xing/snapshot/remote_site_snapshot.rb

Instance Attribute Summary

Attributes inherited from SiteSnapshot

#url

Instance Method Summary collapse

Methods inherited from SiteSnapshot

create!, #create!, #generate_snapshot, #initialize, #teardown

Constructor Details

This class inherits a constructor from Xing::Snapshot::SiteSnapshot

Instance Method Details

#fetch(url, path) ⇒ Object



11
12
13
# File 'lib/xing/snapshot/remote_site_snapshot.rb', line 11

def fetch(url, path)
  @fetcher.perform(url, path)
end

#setupObject



7
8
9
# File 'lib/xing/snapshot/remote_site_snapshot.rb', line 7

def setup
  @fetcher = Xing::Snapshot::Fetcher.new
end