Skip to content

Commit

Permalink
[ec2] add console_output method to server
Browse files Browse the repository at this point in the history
  • Loading branch information
geemus committed May 2, 2010
1 parent 494c1d5 commit c02e9df
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/fog/aws/models/ec2/server.rb
Expand Up @@ -43,6 +43,12 @@ def addresses
connection.addresses(:server => self)
end

def console_output
requires :id

connection.get_console_output(@id)
end

def destroy
requires :id

Expand Down

0 comments on commit c02e9df

Please sign in to comment.