class T2Server::Administrator::AdminResource

This class represents a resource in the Taverna Server administrative interface. A resource can be read only or read/write.

Resources are created when the parent Administrator class is created and are accessed via the [] method within that class.



The name of this resource.


The URI of this resource on the server.

Public Instance Methods

value → string click to toggle source

Get or set the value held by this resource. This call always queries the server as values can change without user intervention.

The resource can only be set if it is writable.

# File lib/t2-server/admin.rb, line 130
def value
writable? → true or false click to toggle source

Is this resource writable?

# File lib/t2-server/admin.rb, line 138
def writable?