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 path to 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 125
def value
writable? → bool click to toggle source

Is this resource writable?

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