Class: Celery::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/celery/base.rb

Direct Known Subclasses

Address, Billing, Buyer, Card, Order, Product, Seller, Shop, Tracking, User

Instance Method Summary collapse

Constructor Details

#initialize(attrs = {}) ⇒ Base

Returns a new instance of Base.



4
5
6
# File 'lib/celery/base.rb', line 4

def initialize(attrs={})
  attrs.each { |key, value| self.send("#{key}=", value) }
end