Class: WebPay::DeletedResponse

Inherits:
Entity
  • Object
show all
Defined in:
lib/webpay/data_types.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Entity

#normalize_hash, #to_h, #to_s

Constructor Details

#initialize(hash = {}) ⇒ DeletedResponse

Returns a new instance of DeletedResponse.



2317
2318
2319
2320
# File 'lib/webpay/data_types.rb', line 2317

def initialize(hash = {})
  hash = normalize_hash(hash)
  @attributes = hash
end

Instance Attribute Details

#attributesObject (readonly)

Returns the value of attribute attributes.



2310
2311
2312
# File 'lib/webpay/data_types.rb', line 2310

def attributes
  @attributes
end

Class Method Details

.fieldsObject



2312
2313
2314
# File 'lib/webpay/data_types.rb', line 2312

def self.fields
  ['deleted']
end

Instance Method Details

#deletedObject

attributes accessors



2325
2326
2327
# File 'lib/webpay/data_types.rb', line 2325

def deleted
  attributes['deleted']
end