Skip to content

Commit 20f9d6c

Browse files
committed
Cleaned up cruft from unfinished change
1 parent 05694a5 commit 20f9d6c

1 file changed

Lines changed: 0 additions & 26 deletions

File tree

lib/softlayer/ImageTemplate.rb

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -147,32 +147,6 @@ def shared_with_accounts= (account_id_list)
147147
accounts_to_remove.each {|account_id| self.service.denySharingAccess account_id }
148148
end
149149

150-
##
151-
# Share this image template with another account
152-
#
153-
# The id of another account can usually be determined
154-
# by the user name of the master user which is typically
155-
# "SL<account_id>" or something similar.
156-
#
157-
# Note that this routine raises an exception if you call
158-
# it with an account that is already in the list of
159-
# shared accounts.
160-
def start_sharing(with_account_id)
161-
self.service.permitSharingAccess(with_account_id)
162-
end
163-
164-
##
165-
# Stop sharing this image with the account_id given
166-
def stop_sharing(with_account_id)
167-
raise "You cannot stop sharing an image template with the account that owns it" if with_account_id == self["accountId"]
168-
self.service.denySharingAccess(with_account_id)
169-
end
170-
171-
##
172-
# Return an array with the id's of accounts that this image is shared with
173-
def shared_with
174-
end
175-
176150
##
177151
# Creates a transaction to delete the image template and
178152
# all the disk images associated with it.

0 commit comments

Comments
 (0)