Class: ActivePublicResources::ReturnTypes::Url

Inherits:
BaseReturnType show all
Defined in:
lib/active_public_resources/return_types/url.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) ⇒ Url

Returns a new instance of Url.



6
7
8
# File 'lib/active_public_resources/return_types/url.rb', line 6

def initialize(args)
  super(args.merge(:return_type => 'url'))
end

Instance Attribute Details

#targetObject

Returns the value of attribute target.



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

def target
  @target
end

#textObject

Returns the value of attribute text.



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

def text
  @text
end

#titleObject

Returns the value of attribute title.



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

def title
  @title
end