Class: Filecoin::Deal
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- Filecoin::Deal
- Extended by:
- ClassMethods
- Includes:
- Filecoin::Deals::State
- Defined in:
- lib/filecoin/deal.rb
Defined Under Namespace
Modules: ClassMethods
Constant Summary
Constants included from Filecoin::Deals::State
Filecoin::Deals::State::BAD_STATES, Filecoin::Deals::State::FINISHED_STATES, Filecoin::Deals::State::GOOD_STATES, Filecoin::Deals::State::PENDING_STATES, Filecoin::Deals::State::STATES
Instance Method Summary collapse
-
#initialize(attrs = {}) ⇒ Deal
constructor
A new instance of Deal.
Methods included from ClassMethods
Methods included from Filecoin::Deals::State
#bad?, #finished?, #good?, #pending?
Constructor Details
#initialize(attrs = {}) ⇒ Deal
Returns a new instance of Deal.
35 36 37 |
# File 'lib/filecoin/deal.rb', line 35 def initialize(attrs = {}) super end |