Class: Wayback::Archive

Inherits:
Identity show all
Defined in:
lib/wayback/archive.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Identity

#==, fetch, #id, #initialize, store

Methods inherited from Base

#[], #attr_equal, attr_reader, #attrs, #attrs_equal, fetch, fetch_or_new, from_response, identity_map, #initialize, store, #update

Constructor Details

This class inherits a constructor from Wayback::Identity

Instance Attribute Details

#datesObject (readonly)

Returns the value of attribute dates


6
7
8
# File 'lib/wayback/archive.rb', line 6

def dates
  @dates
end

#first_dateObject (readonly)

Returns the value of attribute first_date


6
7
8
# File 'lib/wayback/archive.rb', line 6

def first_date
  @first_date
end

#last_dateObject (readonly)

Returns the value of attribute last_date


6
7
8
# File 'lib/wayback/archive.rb', line 6

def last_date
  @last_date
end

#original_urlObject (readonly)

Returns the value of attribute original_url


6
7
8
# File 'lib/wayback/archive.rb', line 6

def original_url
  @original_url
end

Instance Method Details

#urlObject

Nicer method for mapping


9
# File 'lib/wayback/archive.rb', line 9

def url; id; end