Class: FuelSDK::Patch
- Inherits:
-
Objects::Base
- Object
- Objects::Base
- FuelSDK::Patch
- Includes:
- Objects::Soap::CUD
- Defined in:
- lib/fuelsdk/objects.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
Attributes inherited from Objects::Base
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(client, id, properties) ⇒ Patch
constructor
A new instance of Patch.
- #patch ⇒ Object
Methods included from Objects::Soap::CUD
Methods inherited from Objects::Base
Constructor Details
#initialize(client, id, properties) ⇒ Patch
Returns a new instance of Patch.
390 391 392 393 394 |
# File 'lib/fuelsdk/objects.rb', line 390 def initialize client, id, properties self.properties = properties self.client = client self.id = id end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
388 389 390 |
# File 'lib/fuelsdk/objects.rb', line 388 def id @id end |
Class Method Details
.new(client, id, properties = nil) ⇒ Object
401 402 403 404 405 |
# File 'lib/fuelsdk/objects.rb', line 401 def new client, id, properties=nil o = self.allocate o.send :initialize, client, id, properties return o.patch end |
Instance Method Details
#patch ⇒ Object
396 397 398 |
# File 'lib/fuelsdk/objects.rb', line 396 def patch super end |