Method: OEHClient::Data::Structure.request_url

Defined in:
lib/oehclient/data/structure.rb

.request_url(api_name) ⇒ Object

request_url returns the fully-qualified URL to return a given structure



77
78
79
# File 'lib/oehclient/data/structure.rb', line 77

def self.request_url(api_name)
	"#{OEHClient::Helper::Request::ONE_PROTOCOL}#{@space.host}#{OEHClient::Helper::Request::ONE_URI_PART}#{OEHClient::Helper::Request::API_URI_PART}#{OEHClient::Helper::Request::API_VERSION}#{API_PROFILES}/#{api_name}"
end