Table of Contents - promo-0.0.1 Documentation
Classes and Modules
- CreatePromoHistory
- CreatePromoPromocode
- ExpiredPromocode
- InvalidPromoProduct
- InvalidPromocode
- Promo
- Promo::Generators
- Promo::Generators::InstallGenerator
- Promo::History
- Promo::Promocode
- Promo::Usage
- PromocodeException
- UsedPromocode
Methods
- ::calculate_percentage — Promo::Usage
- ::discount_for — Promo::Usage
- ::discount_for_product — Promo::Usage
- ::generate — Promo::Promocode
- ::generate_code — Promo::Promocode
- ::source_root — Promo::Generators::InstallGenerator
- ::validate — Promo::Usage
- #change — CreatePromoPromocode
- #change — CreatePromoHistory
- #create_migration_files — Promo::Generators::InstallGenerator
- #has_product? — Promo::Promocode
- #invalidate! — Promo::Promocode
- #is_expired? — Promo::Promocode
- #is_fixed_value? — Promo::Promocode
- #is_percentage? — Promo::Promocode
- #is_valid? — Promo::Promocode
- #use — Promo::Promocode