Class: Wayback::Archive
- Defined in:
- lib/wayback/archive.rb
Instance Attribute Summary collapse
-
#dates ⇒ Object
readonly
Returns the value of attribute dates.
-
#first_date ⇒ Object
readonly
Returns the value of attribute first_date.
-
#last_date ⇒ Object
readonly
Returns the value of attribute last_date.
-
#original_url ⇒ Object
readonly
Returns the value of attribute original_url.
Instance Method Summary collapse
-
#url ⇒ Object
Nicer method for mapping.
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
#dates ⇒ Object (readonly)
Returns the value of attribute dates.
6 7 8 |
# File 'lib/wayback/archive.rb', line 6 def dates @dates end |
#first_date ⇒ Object (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_date ⇒ Object (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_url ⇒ Object (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
#url ⇒ Object
Nicer method for mapping
9 |
# File 'lib/wayback/archive.rb', line 9 def url; id; end |