Class: Actions::Candlepin::MessageWrapper
- Inherits:
-
Object
- Object
- Actions::Candlepin::MessageWrapper
- Defined in:
- app/lib/actions/candlepin/import_pool_handler.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
Returns the value of attribute message.
Instance Method Summary collapse
- #content ⇒ Object
-
#initialize(message) ⇒ MessageWrapper
constructor
A new instance of MessageWrapper.
- #subject ⇒ Object
Constructor Details
#initialize(message) ⇒ MessageWrapper
Returns a new instance of MessageWrapper.
6 7 8 |
# File 'app/lib/actions/candlepin/import_pool_handler.rb', line 6 def initialize() = end |
Instance Attribute Details
#message ⇒ Object
Returns the value of attribute message.
4 5 6 |
# File 'app/lib/actions/candlepin/import_pool_handler.rb', line 4 def end |
Instance Method Details
#content ⇒ Object
14 15 16 |
# File 'app/lib/actions/candlepin/import_pool_handler.rb', line 14 def content JSON.parse(.content) end |
#subject ⇒ Object
10 11 12 |
# File 'app/lib/actions/candlepin/import_pool_handler.rb', line 10 def subject .subject end |