Class: Gold::FreezeOp
- Inherits:
-
Object
- Object
- Gold::FreezeOp
- Includes:
- Outcomes
- Defined in:
- app/operations/gold/freeze_op.rb
Overview
Invoked when Shopify suspends a merchant. This is the opposite of ‘ThawOp`.
Constant Summary
Constants included from Outcomes
Outcomes::AcceptedCharge, Outcomes::AcceptedTerms, Outcomes::ActiveCharge, Outcomes::CannotApplyDiscount, Outcomes::CannotIssueCredit, Outcomes::CannotProcessCharge, Outcomes::CannotSelectTier, Outcomes::ChargeNeeded, Outcomes::ChargeNotNeeded, Outcomes::DeclinedCharge, Outcomes::DeclinedTerms, Outcomes::ExpiredCharge, Outcomes::FrozenCharge, Outcomes::MismatchCharge, Outcomes::MissingCharge, Outcomes::PendingCharge, Outcomes::SameDiscount, Outcomes::SameTier, Outcomes::TierApplied, Outcomes::TierNotFound, Outcomes::Uninstalled
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(billing) ⇒ FreezeOp
constructor
A new instance of FreezeOp.
Constructor Details
#initialize(billing) ⇒ FreezeOp
Returns a new instance of FreezeOp.
6 7 8 |
# File 'app/operations/gold/freeze_op.rb', line 6 def initialize(billing) @billing = billing end |