Class: OpsWorks::Deployment

Inherits:
Resource show all
Defined in:
lib/opsworks/deployment.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Resource

account, client, #initialize

Constructor Details

This class inherits a constructor from OpsWorks::Resource

Instance Attribute Details

#created_at ⇒ Object

Returns the value of attribute created_at.



5
6
7
# File 'lib/opsworks/deployment.rb', line 5

def created_at
  @created_at
end

#id ⇒ Object

Returns the value of attribute id.



5
6
7
# File 'lib/opsworks/deployment.rb', line 5

def id
  @id
end

#status ⇒ Object

Returns the value of attribute status.



5
6
7
# File 'lib/opsworks/deployment.rb', line 5

def status
  @status
end

Instance Method Details

#success? ⇒ Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/opsworks/deployment.rb', line 7

def success?
  status == 'successful'
end