Class: FuelSDK::Get
- Inherits:
-
Objects::Base
- Object
- Objects::Base
- FuelSDK::Get
- Includes:
- Objects::Soap::Read
- Defined in:
- lib/fuelsdk/objects.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
Attributes included from Objects::Soap::Read
Attributes inherited from Objects::Base
Class Method Summary collapse
Instance Method Summary collapse
- #get ⇒ Object
-
#initialize(client, id, properties, filter) ⇒ Get
constructor
A new instance of Get.
Methods included from Objects::Soap::Read
Methods inherited from Objects::Base
Constructor Details
#initialize(client, id, properties, filter) ⇒ Get
Returns a new instance of Get.
320 321 322 323 324 325 |
# File 'lib/fuelsdk/objects.rb', line 320 def initialize client, id, properties, filter self.properties = properties self.filter = filter self.client = client self.id = id end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
318 319 320 |
# File 'lib/fuelsdk/objects.rb', line 318 def id @id end |
Class Method Details
.new(client, id, properties = nil, filter = nil) ⇒ Object
332 333 334 335 336 |
# File 'lib/fuelsdk/objects.rb', line 332 def new client, id, properties=nil, filter=nil o = self.allocate o.send :initialize, client, id, properties, filter return o.get end |
Instance Method Details
#get ⇒ Object
327 328 329 |
# File 'lib/fuelsdk/objects.rb', line 327 def get super id end |