Class: Alfresco4r::DocumentDownloadUrl
- Inherits:
-
Object
- Object
- Alfresco4r::DocumentDownloadUrl
- Defined in:
- lib/alfresco4r/abstract_service.rb
Instance Method Summary collapse
-
#initialize(options) ⇒ DocumentDownloadUrl
constructor
A new instance of DocumentDownloadUrl.
- #url(node_id) ⇒ Object
Constructor Details
#initialize(options) ⇒ DocumentDownloadUrl
Returns a new instance of DocumentDownloadUrl.
92 93 94 |
# File 'lib/alfresco4r/abstract_service.rb', line 92 def initialize() @options = end |
Instance Method Details
#url(node_id) ⇒ Object
96 97 98 99 |
# File 'lib/alfresco4r/abstract_service.rb', line 96 def url(node_id) download_url = @options[:download_url].concat("/").concat(node_id).strip return download_url.to_s end |