Class: PayjpMock::Response::Deleted
- Defined in:
- lib/payjp_mock/response/deleted.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(resource_id) ⇒ Deleted
constructor
A new instance of Deleted.
- #status ⇒ Object
Methods inherited from Base
Constructor Details
#initialize(resource_id) ⇒ Deleted
Returns a new instance of Deleted.
3 4 5 6 7 8 9 |
# File 'lib/payjp_mock/response/deleted.rb', line 3 def initialize(resource_id) @attributes = { deleted: true, id: resource_id, livemode: false } end |
Instance Method Details
#status ⇒ Object
11 12 13 |
# File 'lib/payjp_mock/response/deleted.rb', line 11 def status 200 end |