Class: ActivePublicResources::ReturnTypes::Oembed
- Inherits:
-
BaseReturnType
- Object
- BaseReturnType
- ActivePublicResources::ReturnTypes::Oembed
- Defined in:
- lib/active_public_resources/return_types/oembed.rb
Instance Attribute Summary collapse
-
#endpoint ⇒ Object
Returns the value of attribute endpoint.
Attributes inherited from BaseReturnType
#driver, #remote_id, #return_type, #url
Instance Method Summary collapse
-
#initialize(args) ⇒ Oembed
constructor
A new instance of Oembed.
Methods inherited from BaseReturnType
Constructor Details
#initialize(args) ⇒ Oembed
Returns a new instance of Oembed.
6 7 8 |
# File 'lib/active_public_resources/return_types/oembed.rb', line 6 def initialize(args) super(args.merge(:return_type => 'oembed')) end |
Instance Attribute Details
#endpoint ⇒ Object
Returns the value of attribute endpoint.
4 5 6 |
# File 'lib/active_public_resources/return_types/oembed.rb', line 4 def endpoint @endpoint end |