Method: ContextIO::API::ResourceCollection#resource_url

Defined in:
lib/contextio/api/resource_collection.rb

#resource_urlString (readonly)

Returns The URL that will fetch attributes from the API.

Returns:

  • (String)

    The URL that will fetch attributes from the API.



40
41
42
# File 'lib/contextio/api/resource_collection.rb', line 40

def resource_url
  @resource_url ||= api.url_for(self)
end