Module: Betsy::Model
- Included in:
- Error, LedgerEntry, Other, Payment, Review, SellerTaxonomy, Shop, ShopListing, ShopListingFile, ShopListingImage, ShopListingInventory, ShopListingOffering, ShopListingProduct, ShopListingTranslation, ShopListingVariationImage, ShopProductionPartner, ShopReceipt, ShopReceiptTransaction, ShopSection, ShopShippingProfile, User, UserAddress
- Defined in:
- lib/betsy/model.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(other) ⇒ Object
75 76 77 |
# File 'lib/betsy/model.rb', line 75 def self.included(other) other.extend(ClassMethods) end |
Instance Method Details
#initialize(data = nil) ⇒ Object
71 72 73 |
# File 'lib/betsy/model.rb', line 71 def initialize(data = nil) @result = data end |