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.



2382
2383
2384
2385
# File 'lib/webpay/data_types.rb', line 2382

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

Instance Attribute Details

#attributesObject (readonly)

Returns the value of attribute attributes.



2375
2376
2377
# File 'lib/webpay/data_types.rb', line 2375

def attributes
  @attributes
end

Class Method Details

.fieldsObject



2377
2378
2379
# File 'lib/webpay/data_types.rb', line 2377

def self.fields
  ['deleted']
end

Instance Method Details

#deletedObject

attributes accessors



2390
2391
2392
# File 'lib/webpay/data_types.rb', line 2390

def deleted
  attributes['deleted']
end