Class: LicenseFinder::Decisions::TXN
- Inherits:
-
Struct
- Object
- Struct
- LicenseFinder::Decisions::TXN
- Defined in:
- lib/license_finder/decisions.rb
Overview
WRITE
Instance Attribute Summary collapse
-
#safe_when ⇒ Object
Returns the value of attribute safe_when.
-
#who ⇒ Object
Returns the value of attribute who.
-
#why ⇒ Object
Returns the value of attribute why.
Class Method Summary collapse
Instance Attribute Details
#safe_when ⇒ Object
Returns the value of attribute safe_when
37 38 39 |
# File 'lib/license_finder/decisions.rb', line 37 def safe_when @safe_when end |
#who ⇒ Object
Returns the value of attribute who
37 38 39 |
# File 'lib/license_finder/decisions.rb', line 37 def who @who end |
#why ⇒ Object
Returns the value of attribute why
37 38 39 |
# File 'lib/license_finder/decisions.rb', line 37 def why @why end |
Class Method Details
.from_hash(txn) ⇒ Object
38 39 40 |
# File 'lib/license_finder/decisions.rb', line 38 def self.from_hash(txn) new(txn[:who], txn[:why], txn[:when]) end |