Class: Yookassa::Entities::Receipt

Inherits:
Base
  • Object
show all
Defined in:
lib/yookassa/entities/receipt.rb

Overview

Receipt entity with status helpers.

Instance Attribute Summary

Attributes inherited from Base

#attributes

Instance Method Summary collapse

Methods inherited from Base

#[], #initialize, #respond_to_missing?, #to_h

Constructor Details

This class inherits a constructor from Yookassa::Entities::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Yookassa::Entities::Base

Instance Method Details

#succeeded?Boolean



10
11
12
# File 'lib/yookassa/entities/receipt.rb', line 10

def succeeded?
  status == "succeeded"
end