Class: Wayback::Archive

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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