Class: SDM::ConnectorDeleteResponse
- Inherits:
-
Object
- Object
- SDM::ConnectorDeleteResponse
- Defined in:
- lib/models/porcelain.rb
Overview
ConnectorDeleteResponse returns information about a connector that was deleted.
Instance Attribute Summary collapse
-
#meta ⇒ Object
Reserved for future use.
-
#rate_limit ⇒ Object
Rate limit information.
Instance Method Summary collapse
-
#initialize(meta: nil, rate_limit: nil) ⇒ ConnectorDeleteResponse
constructor
A new instance of ConnectorDeleteResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(meta: nil, rate_limit: nil) ⇒ ConnectorDeleteResponse
Returns a new instance of ConnectorDeleteResponse.
5331 5332 5333 5334 5335 5336 5337 |
# File 'lib/models/porcelain.rb', line 5331 def initialize( meta: nil, rate_limit: nil ) @meta = == nil ? nil : @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#meta ⇒ Object
Reserved for future use.
5327 5328 5329 |
# File 'lib/models/porcelain.rb', line 5327 def @meta end |
#rate_limit ⇒ Object
Rate limit information.
5329 5330 5331 |
# File 'lib/models/porcelain.rb', line 5329 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
5339 5340 5341 5342 5343 5344 5345 |
# File 'lib/models/porcelain.rb', line 5339 def to_json( = {}) hash = {} self.instance_variables.each do |var| hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var end hash.to_json end |