This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module HashConverter | |
| class << self | |
| def to_underscore hash | |
| convert hash, :underscore | |
| end | |
| def to_camel_case hash | |
| convert hash, :camelize, :lower | |
| end | |
| def convert obj, *method | |
| case obj |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div className="pricing" style={{ opacity: purchasing ? 0.25 : '' }}> | |
| <Conditional if={purchaseComplete}> | |
| <div className="purchase-complete"> | |
| <h2>Thanks!</h2> | |
| <p> | |
| Thank you for your purchase of {formatPrice(this.state.total)}. | |
| We’ll send you a receipt shortly. | |
| </p> | |
| <p> | |
| <button |
OlderNewer