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.



2401
2402
2403
2404
# File 'lib/webpay/data_types.rb', line 2401

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

Instance Attribute Details

#attributesObject (readonly)

Returns the value of attribute attributes.



2394
2395
2396
# File 'lib/webpay/data_types.rb', line 2394

def attributes
  @attributes
end

Class Method Details

.fieldsObject



2396
2397
2398
# File 'lib/webpay/data_types.rb', line 2396

def self.fields
  ['deleted']
end

Instance Method Details

#deletedObject

attributes accessors



2409
2410
2411
# File 'lib/webpay/data_types.rb', line 2409

def deleted
  attributes['deleted']
end