Class: FuelSDK::Objects::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/fuelsdk/objects.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#clientObject

Returns the value of attribute client.



53
54
55
# File 'lib/fuelsdk/objects.rb', line 53

def client
  @client
end

#idObject (readonly)

Returns the value of attribute id.



54
55
56
# File 'lib/fuelsdk/objects.rb', line 54

def id
  @id
end

#propertiesObject

Returns the value of attribute properties.



53
54
55
# File 'lib/fuelsdk/objects.rb', line 53

def properties
  @properties
end

Class Method Details

.idObject



64
65
66
# File 'lib/fuelsdk/objects.rb', line 64

def id
  self.name.split('::').pop
end