# File lib/rhc/rest/client.rb, line 47 def owned_applications(options={}) debug "Getting owned applications" if link = api.link_href(:LIST_APPLICATIONS_BY_OWNER) @owned_applications ||= api.rest_method 'LIST_APPLICATIONS_BY_OWNER', :owner => '@self' else owned_domains_names = owned_domains.map{|d| d.name} @owned_applications ||= applications(options).select{|app| owned_domains_names.include?(app.domain)} end end