Class: OEmbed::Response::Link

Inherits:
OEmbed::Response show all
Defined in:
lib/oembed/response/link.rb

Overview

A fairly generic type of Response where the url of the resource is the original request_url.

Instance Attribute Summary

Attributes inherited from OEmbed::Response

#fields, #format, #provider, #request_url

Instance Method Summary collapse

Methods inherited from OEmbed::Response

create_for, #field, #initialize, #link?, #photo?, #rich?, #video?

Constructor Details

This class inherits a constructor from OEmbed::Response

Instance Method Details

#urlObject

Returns the request_url


8
9
10
# File 'lib/oembed/response/link.rb', line 8

def url
  request_url
end