Class: Flashboy::Bid
Instance Attribute Summary
Attributes inherited from Order
Instance Method Summary collapse
- #bid? ⇒ Boolean
-
#initialize(attrs = {}) ⇒ Bid
constructor
A new instance of Bid.
Constructor Details
#initialize(attrs = {}) ⇒ Bid
Returns a new instance of Bid.
3 4 5 6 |
# File 'lib/flashboy/bid.rb', line 3 def initialize(attrs = {}) @type = 'Bid' super end |
Instance Method Details
#bid? ⇒ Boolean
8 9 10 |
# File 'lib/flashboy/bid.rb', line 8 def bid? type == 'Bid' end |