Class: ActivePublicResources::ReturnTypes::Oembed

Inherits:
BaseReturnType show all
Defined in:
lib/active_public_resources/return_types/oembed.rb

Instance Attribute Summary collapse

Attributes inherited from BaseReturnType

#driver, #remote_id, #return_type, #url

Instance Method Summary collapse

Methods inherited from BaseReturnType

#attributes

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

#endpointObject

Returns the value of attribute endpoint.



4
5
6
# File 'lib/active_public_resources/return_types/oembed.rb', line 4

def endpoint
  @endpoint
end