Class: FuelSDK::Objects::Base

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#clientObject

Returns the value of attribute client.



146
147
148
# File 'lib/fuelsdk/objects.rb', line 146

def client
  @client
end

#idObject (readonly)

Returns the value of attribute id.



147
148
149
# File 'lib/fuelsdk/objects.rb', line 147

def id
  @id
end

#propertiesObject

Returns the value of attribute properties.



146
147
148
# File 'lib/fuelsdk/objects.rb', line 146

def properties
  @properties
end

Class Method Details

.idObject



167
168
169
# File 'lib/fuelsdk/objects.rb', line 167

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

Instance Method Details

#propsObject

Backwards compatibility



158
159
160
# File 'lib/fuelsdk/objects.rb', line 158

def props
	@properties
end