Class: MockChargebee::Repositories::RepoHash
- Inherits:
-
Hash
- Object
- Hash
- MockChargebee::Repositories::RepoHash
- Defined in:
- lib/mock_chargebee/repositories.rb
Instance Method Summary collapse
Instance Method Details
#fetch ⇒ Object
20 21 22 23 24 |
# File 'lib/mock_chargebee/repositories.rb', line 20 def fetch(*) super rescue KeyError => e raise ChargeBee::InvalidRequestError.new(404, message: "#{e.key} not found") end |