Module: Wayback
- Extended by:
- Configurable
- Defined in:
- lib/wayback.rb,
lib/wayback/base.rb,
lib/wayback/page.rb,
lib/wayback/error.rb,
lib/wayback/client.rb,
lib/wayback/archive.rb,
lib/wayback/default.rb,
lib/wayback/factory.rb,
lib/wayback/version.rb,
lib/wayback/identity.rb,
lib/wayback/api/utils.rb,
lib/wayback/api/archive.rb,
lib/wayback/availability.rb,
lib/wayback/configurable.rb,
lib/wayback/identity_map.rb,
lib/wayback/error/forbidden.rb,
lib/wayback/error/not_found.rb,
lib/wayback/error/bad_gateway.rb,
lib/wayback/error/bad_request.rb,
lib/wayback/error/client_error.rb,
lib/wayback/error/decode_error.rb,
lib/wayback/error/server_error.rb,
lib/wayback/error/unauthorized.rb,
lib/wayback/error/not_acceptable.rb,
lib/wayback/response/raise_error.rb,
lib/wayback/error/gateway_timeout.rb,
lib/wayback/response/parse_memento.rb,
lib/wayback/error/already_favorited.rb,
lib/wayback/error/already_retweeted.rb,
lib/wayback/error/too_many_requests.rb,
lib/wayback/error/configuration_error.rb,
lib/wayback/error/service_unavailable.rb,
lib/wayback/error/unprocessable_entity.rb,
lib/wayback/error/internal_server_error.rb,
lib/wayback/response/parse_availability.rb,
lib/wayback/response/parse_memento_page.rb,
lib/wayback/error/identity_map_key_error.rb
Defined Under Namespace
Modules: API, Configurable, Default, Response Classes: Archive, Availability, Base, Client, Error, Factory, Identity, IdentityMap, Page, Version
Instance Attribute Summary
Attributes included from Configurable
#connection_options, #endpoint, #endpoint_path, #identity_map, #json_endpoint, #json_endpoint_path, #middleware
Class Method Summary collapse
-
.client ⇒ Wayback::Client
Delegate to a Wayback::Client.
Instance Method Summary collapse
- #respond_to?(method_name, include_private = false) ⇒ Boolean
- #respond_to_missing?(method_name, include_private = false) ⇒ Boolean
Methods included from Configurable
Class Method Details
.client ⇒ Wayback::Client
Delegate to a Wayback::Client
15 16 17 18 |
# File 'lib/wayback.rb', line 15 def client @client = Wayback::Client.new() unless defined?(@client) && @client.hash == .hash @client end |
Instance Method Details
#respond_to?(method_name, include_private = false) ⇒ Boolean
21 |
# File 'lib/wayback.rb', line 21 def respond_to?(method_name, include_private=false); client.respond_to?(method_name, include_private) || super; end |
#respond_to_missing?(method_name, include_private = false) ⇒ Boolean
20 |
# File 'lib/wayback.rb', line 20 def respond_to_missing?(method_name, include_private=false); client.respond_to?(method_name, include_private); end |